How To Get Username In WordPress Using PHP
To get the current username in wordpress using php you have write this custom code in functions.php function getUser(){ $current_user = wp_get_current_user(); $userName = $current_user->display_name; ?>
How To Get Username In WordPress Using PHP Read More »