Module::supported_cpt_cache_clear( string $post_type, WP_Post_Type $post_type_object )
Clears the cache if a new post type is detected.
Parameters
- $post_type
-
(Required) The post type slug.
- $post_type_object
-
(Required) The post type object.
Return
(void)
Source
File: includes/modules/post_type_enhancements/module.php
Expand full source code Collapse full source code View on Github