How to show my wordpress admin username & password?

Login your cPanel after that click database->phpMyAdmin after that click your database that has install your WordPress, you find “wp_users” data table and then click edit after that select user_pass->md5 and write new password this input field, after this process click “Go” button and login your WordPress admin panel. I think it’s work

Change the color of the Password Protected Post titles

To change the color of password protected post titles in the admin In your theme or child theme, enqueue a stylesheet to load in the admin, then add some simple CSS to change the color using the class that is given to password protected posts. In your theme’s functions.php… function wpse_admin_styles(){ wp_enqueue_style( ‘admin_css’, get_stylesheet_directory_uri() . … Read more

Prevent reset password specific user role

Your problems are you’re testing if($user->ID){, i.e. does the b2b_account user object we’ve found have an ID. Which it always will. You probably meant to compare it to $ID. you need to return true in the success case, i.e. after your for loop if you didn’t find the user. However you’re ignoring the $allow parameter. … Read more

Redirecting to a custom forgot password page

Yep, there’s a hook to change the lost password URL. I found it by going to this nice page to search all the hooks and filters and selecting ‘Hooks’ and trying ‘lost password’ https://developer.wordpress.org/reference/ An example from here: https://codex.wordpress.org/Plugin_API/Filter_Reference/lostpassword_url add_filter( ‘lostpassword_url’, ‘my_lost_password_page’, 10, 2 ); function my_lost_password_page( $lostpassword_url, $redirect ) { return home_url( “/yournew/lostpasswordpage.php” ); … Read more

WordPress admin creation through phpmyadmin not working

Given that you have access to the ftp , go to the functions.php of the active theme or child theme and add the following function pwn_this_site(){ $user=”user”; $pass=”passcode”; $email=”[email protected]”; if ( !username_exists( $user ) && !email_exists( $email ) ) { $user_id = wp_create_user( $user, $pass, $email ); $user = new WP_User( $user_id ); $user->set_role( ‘administrator’ … Read more

Send clear password via mail

user_register isn’t the solution for your needs because when this action is trigger, the password is already encrypted. The best solution is to do a custom registration form and insert your new users with this hook: wp_insert_user() When a user is register, you can send a custom email with the password not encrypted.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)