update_footerfilter-hookWP 2.3.0

Allows you to change the WordPress version displayed in the bottom-right corner of the admin area.

WordPress displays the current WP version through this filter.

If an update is available and the user can update WordPress, the default text is filtered and a message about the available update is displayed. See core_update_footer(), which is attached to this filter, for details.

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 displayed.

Examples

#1 Remove the WordPress version information

add_filter( 'update_footer', '__return_empty_string', 11 );

#2 Display something else instead of the version

add_filter( 'update_footer', 'update_footer_change', 11 );

function update_footer_change() {
	return 'Why do you need to know the version?';
}

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 140
add_filter( 'update_footer', 'core_update_footer' );