Advertisement

WP_Role::has_cap

Determines whether the role has the given capability.

Advertisement

WP_Role::__construct

Constructor – Set up object properties.

Advertisement

WP_Rewrite::init

Sets up the object’s properties.

WP_Rewrite::flush_rules

Removes rewrite rules and then recreate rewrite rules.

Advertisement