Retrieves a session manager instance for a user.
WP_Session_Tokens::__construct
Protected constructor. Use the `get_instance()` method to get the instance.
WP_Role::has_cap
Determines whether the role has the given capability.
WP_Role::remove_cap
Removes a capability from a role.
Advertisement
WP_Role::add_cap
Assign role a capability.
WP_Role::__construct
Constructor – Set up object properties.
WP_Rewrite::__construct
Constructor – Calls init(), which runs setup.
WP_Rewrite::set_tag_base
Sets the tag base for the tag permalink.
Advertisement
WP_Rewrite::set_category_base
Sets the category base for the category permalink.
WP_Rewrite::set_permalink_structure
Sets the main permalink structure for the site.
WP_Rewrite::init
Sets up the object’s properties.
WP_Rewrite::flush_rules
Removes rewrite rules and then recreate rewrite rules.
Advertisement
WP_Rewrite::remove_permastruct
Removes a permalink structure.
WP_Rewrite::add_permastruct
Adds a new permalink structure.
WP_Rewrite::add_endpoint
Adds an endpoint, like /trackback/.