WPSEO_Abstract_Role_Manager::remove()
Removes the registered roles.
Метод класса: WPSEO_Abstract_Role_Manager{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_Abstract_Role_Manager = new WPSEO_Abstract_Role_Manager(); $WPSEO_Abstract_Role_Manager->remove();
Код WPSEO_Abstract_Role_Manager::remove() WPSEO Abstract Role Manager::remove Yoast 24.0
public function remove() { $roles = array_keys( $this->roles ); array_map( [ $this, 'remove_role' ], $roles ); }