Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
WPCOM_VIP_Support_Role
action_init
WPCOM_VIP_Support_Role::action_init PHP Method
WPCOM_VIP_Support_Role Class Documentation
Show file
Open project: Automattic/vip-mu-plugins-public
action_init()
public
method
Hooks the init action to add the role, covering the cases where we should be using
wpcom_vip_add_role
.
public
action_init
( )
public function action_init() { self::add_role(); }
WPCOM_VIP_Support_Role
__construct
action_admin_init
action_init
add_role
error_log
filter_editable_roles
filter_user_has_cap
init
update