update_footer
Filter HookDescription
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.Hook Information
File Location |
wp-admin/admin-footer.php
View on GitHub
|
Hook Type | Filter |
Line Number | 65 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$content
|
The content that will be printed. |
Usage Examples
Basic Usage
<?php
// Hook into update_footer
add_filter('update_footer', 'my_custom_filter', 10, 1);
function my_custom_filter($content) {
// Your custom filtering logic here
return $content;
}
Source Code Context
wp-admin/admin-footer.php:65
- How this hook is used in WordPress core
<?php
60 *
61 * @see core_update_footer()
62 *
63 * @param string $content The content that will be printed.
64 */
65 echo apply_filters( 'update_footer', '' );
66 ?>
67 </p>
68 <div class="clear"></div>
69 </div>
70 <?php
PHP Documentation
<?php
/**
* 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.
*
* @since 2.3.0
*
* @see core_update_footer()
*
* @param string $content The content that will be printed.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-admin/admin-footer.php
Related Hooks
Related hooks will be displayed here in future updates.