jetpack_wp_abilities_should_register

jetpack_wp_abilities_should_register

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.9

apply_filters('jetpack_wp_abilities_should_register') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-wp-abilities/src/class-registrar.php line 181

    Warning: Undefined array key 183 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 184 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 185 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 186 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * @param bool   $enabled Whether to register. Default true.
    		 * @param string $type    Either 'category' or 'ability'.
    		 * @param string $slug    The category or ability slug being registered.
    		 */
    		return (bool) apply_filters( 'jetpack_wp_abilities_should_register', true, $type, $slug );
    	}
    }