new_public_post_type_notifications

new_public_post_type_notifications

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-seo.23.9

do_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 );
    

See this hook used in plugins: