updated filter email to filter the author page special keyword

This commit is contained in:
asus
2024-03-07 19:03:42 +01:00
parent 31c3ed55f4
commit 4916defcaa
4 changed files with 55 additions and 29 deletions

View File

@@ -186,7 +186,8 @@ function current_user_infos_CIPF($atts) {
if (!empty($wp_query->posts))
$user_id = $wp_query->posts[0]->post_author;
}
$current_user = new WP_User($user_id);
//$current_user = new WP_User($user_id);
$current_user = get_user_by('id', $user_id);
}
/*