Friday, 14 August 2020

Lets Print Anything From Wp_User

 

Do like this bro!

<?php global $current_user;

      get_currentuserinfo();
 
      echo 'Username: ' . $current_user->user_login . "\n";
      echo 'User email: ' . $current_user->user_email . "\n";
      echo 'User first name: ' . $current_user->user_firstname . "\n";
      echo 'User last name: ' . $current_user->user_lastname . "\n";
      echo 'User display name: ' . $current_user->display_name . "\n";
      echo 'User ID: ' . $current_user->ID . "\n";
?>


Paste in any page you like to display lah!

https://www.isitwp.com/display-user-info/

Cara-Cara Untuk Bypass/Solve: Database Problem.

  Warning: Attempt to read property "post_status" on null in /home/xxx/public_html/wp-admin/includes/template.php on line 2298 Wa...