Hook Type: filter
See hook in action
See hook in
Displaying hooks found in version: gutenberg.5.0.0

apply_filters('gutenberg_can_edit_post_type') is found 1 times:

  • /lib/register.php line 103
    	 * @param bool   $can_edit  Whether the post type can be edited or not.
    	 * @param string $post_type The post type being checked.
    	return apply_filters( 'gutenberg_can_edit_post_type', $can_edit, $post_type );
     * Determine whether a post has blocks. This test optimizes for performance
     * rather than strict accuracy, detecting the pattern of a block but not
     * validating its structure. For strict accuracy, you should use the block

See this hook used in plugins:

Examples using gutenberg_can_edit_post_type