$capability . _roles, $roles

$capability . _roles, $roles

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('$capability . _roles, $roles') is found 1 times:

  • /admin/capabilities/class-abstract-capability-manager.php line 82
    		 * Filter: Allow changing roles that a capability is added to.
    		 *
    		 * @param array $roles The default roles to be filtered.
    		 */
    		$filtered = apply_filters( $capability . '_roles', $roles );
    
    		// Make sure we have the expected type.
    		if ( ! is_array( $filtered ) ) {
    			return [];
    		}