Skip to content

Instantly share code, notes, and snippets.

@mspalex
Last active August 19, 2016 15:13
Show Gist options
  • Save mspalex/86665b64a710d1f0f078 to your computer and use it in GitHub Desktop.
Save mspalex/86665b64a710d1f0f078 to your computer and use it in GitHub Desktop.
Wordpress - Customize Backoffice footer messages
<?php
// Remove or Replace the Update WP footer link
add_filter('update_footer', remove_admin_footer_upgrade, 1000);
function remove_admin_footer_upgrade($footer_text =''){
return 'your message';
}
// Remove or Replace the Powered By text
add_filter('admin_footer_text', 'remove_footer_admin');
function remove_footer_admin () {
$link = "http://www.yourcompanysite.pt/";
echo "Website developed by <a href=\"$link\" target=\"_blank\">YourCompany</a>";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment