We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4dc97 commit fa86648Copy full SHA for fa86648
1 file changed
mu-plugins/fluent-smtp.php
@@ -39,3 +39,32 @@ static function () {
39
0,
40
0
41
);
42
+
43
+// Hide notice on the plugin-install search screen
44
+add_action(
45
+ 'admin_head-plugin-install.php',
46
+ static function () {
47
+ echo '<style>.fluent_smtp_box { display: none !important; }</style>';
48
+ }
49
+);
50
51
+// Suppress the subscription prompt
52
+add_filter(
53
+ 'pre_option__fluentsmtp_dismissed_timestamp',
54
55
+ return time();
56
57
58
59
+// Remove the promotion from admin footer
60
61
+ 'admin_footer_text',
62
+ static function ($text) {
63
+ if (empty($_GET['page']) || $_GET['page'] !== 'fluent-mail') {
64
+ return $text;
65
66
67
+ return '';
68
+ },
69
+ PHP_INT_MAX
70
0 commit comments