custer : changed namespace, now all function use it

This commit is contained in:
asus
2024-03-17 14:06:25 +01:00
parent fc41f7d36b
commit 70d8998a3f
6 changed files with 38 additions and 33 deletions

View File

@@ -39,7 +39,7 @@ function shortcode_change_id($options) {
if ($option === 'author') {
$id = get_author_id();
$id = \CUSTER\get_author_id();
Custer::set_current_user_backup();
wp_set_current_user($id);
}