WPSEO_Role_Manager_Factory::get()
Retrieves the Role manager to use.
Метод класса: WPSEO_Role_Manager_Factory{}
Хуков нет.
Возвращает
WPSEO_Role_Manager
.
Использование
$result = WPSEO_Role_Manager_Factory::get();
Код WPSEO_Role_Manager_Factory::get() WPSEO Role Manager Factory::get Yoast 24.9
public static function get() { static $manager = null; if ( $manager === null ) { $manager = new WPSEO_Role_Manager_WP(); } return $manager; }