unregistered_post_type

unregistered_post_type

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('unregistered_post_type') is found 1 times:

  • /wp-includes/post.php line 1887
    	 * @since 4.5.0
    	 *
    	 * @param string $post_type Post type key.
    	 */
    	do_action( 'unregistered_post_type', $post_type );
    
    	return true;
    }
    
    /**
     * Builds an object with all post type capabilities out of a post type object
    

See this hook used in plugins: