admin_footer_text
Filters the "Thank you" text displayed in the admin footer.
Usage
add_filter( 'admin_footer_text', 'wp_kama_admin_footer_text_filter' );
/**
* Function for `admin_footer_text` filter-hook.
*
* @param string $text The content that will be printed.
*
* @return string
*/
function wp_kama_admin_footer_text_filter( $text ){
// filter...
return $text;
}
- $text(string)
- The content that will be printed.
Changelog
| Since 2.8.0 | Introduced. |
Where the hook is called
In file: /wp-admin/admin-footer.php
admin_footer_text
wp-admin/admin-footer.php 48
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );