File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -356,6 +356,11 @@ public static function registerHooks( string $bootstrap_file ) : void {
356
356
[ AdminNotices::class, 'showAdminNotices ' ],
357
357
0
358
358
);
359
+
360
+ add_filter (
361
+ 'admin_footer_text ' ,
362
+ [ self ::class, 'wp2staticAdminFooterText ' ]
363
+ );
359
364
}
360
365
}
361
366
@@ -419,6 +424,12 @@ public static function wp2staticAdminScripts() : void {
419
424
wp_enqueue_script ( 'wp2static_admin_scripts ' );
420
425
}
421
426
427
+ public static function wp2staticAdminFooterText ( $ content ) : string {
428
+ return 'Thank you for using ' .
429
+ '<a href="https://link.strattic.com/wp2static-footer" target="_blank">WP2Static</a> by ' .
430
+ '<a href="https://link.strattic.com/strattic-wp2static-footer" target="_blank">Strattic</a>. ' ;
431
+ }
432
+
422
433
/**
423
434
* Add extra link to WP2Static's Plugins page entry
424
435
*
You can’t perform that action at this time.
0 commit comments