update_footer
Filters the version/update text displayed in the admin footer.
WordPress prints the current version and update information, using core_update_footer() at priority 10.
Usage
add_filter( 'update_footer', 'wp_kama_update_footer_filter' ); /** * Function for `update_footer` filter-hook. * * @param string $content The content that will be printed. * * @return string */ function wp_kama_update_footer_filter( $content ){ // filter... return $content; }
- $content(string)
- The content that will be printed.
Changelog
Since 2.3.0 | Introduced. |
Where the hook is called
In file: /wp-admin/admin-footer.php
update_footer
wp-admin/admin-footer.php 65
echo apply_filters( 'update_footer', '' );
Where the hook is used in WordPress
wp-admin/includes/admin-filters.php 141
add_filter( 'update_footer', 'core_update_footer' );