With the code below, we can customize the WordPress admin dashboard by replacing the default footer text and version text with any custom messages.
/**
* Custom footer text.
*
* @return string The custom footer text.
*/
function ts_prefix_custom_admin_footer_text() {
return 'Custom Footer Text';
}
add_filter( 'admin_footer_text', 'ts_prefix_custom_admin_footer_text' );
/**
* Custom version text.
*
* @return string The custom version text.
*/
function ts_prefix_custom_admin_version_text() {
return 'Custom Version Text';
}
add_filter( 'update_footer', 'ts_prefix_custom_admin_version_text', 20 );
Related Posts:
How to Create Custom Gutenberg Blocks in WordPress…
How to Create a Search Form For Custom Fields in WordPress?
How to Create a Custom WordPress Login Page?
How to Use WP_Query to Fetch and Display Custom…
How to Add a Custom Welcome Panel to Your WordPress…
How to Add and Display Custom Meta Data in WordPress…