new_public_post_type_notifications
new_public_post_type_notifications
Appears in: wordpress-seo.20.11, wordpress-seo.20.12, wordpress-seo.21.0, wordpress-seo.21.1, wordpress-seo.21.2, wordpress-seo.21.4, wordpress-seo.21.5, wordpress-seo.21.7, wordpress-seo.21.8, wordpress-seo.21.8.1, wordpress-seo.21.9.1, wordpress-seo.22.0, wordpress-seo.22.1, wordpress-seo.22.2, wordpress-seo.22.3, wordpress-seo.22.6, wordpress-seo.22.8, wordpress-seo.22.9, wordpress-seo.23.0, wordpress-seo.23.2, wordpress-seo.23.3, wordpress-seo.23.4, wordpress-seo.23.6, wordpress-seo.23.8, wordpress-seo.23.9, wordpress-seo.24.0, wordpress-seo.24.1
Hook Type: action
See hook in action
Displaying hooks found in version: wordpress-seo.24.1do_action('new_public_post_type_notifications') is found 1 times:
- /src/integrations/watchers/indexable-post-type-change-watcher.php line 145
\delete_transient( Indexable_Post_Indexation_Action::UNINDEXED_LIMITED_COUNT_TRANSIENT ); $this->indexing_helper->set_reason( Indexing_Reasons::REASON_POST_TYPE_MADE_PUBLIC ); \do_action( 'new_public_post_type_notifications', $newly_made_public_post_types ); } // There are post types that have been made private. if ( $newly_made_non_public_post_types && $this->indexable_helper->should_index_indexables() ) { // Schedule a cron job to remove all the posts whose post type has been made private. $cleanup_not_yet_scheduled = ! \wp_next_scheduled( Cleanup_Integration::START_HOOK );