custer : changed namespace, now all function use it
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user