Codex Neve
  • Developer Documentation
  • Visual Guide

Codex Neve

Search the Code Reference for more information about Neve's hooks.

Skip to content
Filter by type:
Search
Browse: Home / Classes / Module / Module::supported_cpt_cache_clear()

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

© Vertigo Studio SRL 2026