new_public_taxonomy_notifications

new_public_taxonomy_notifications

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-seo.22.6

do_action('new_public_taxonomy_notifications') is found 1 times:

  • /src/integrations/watchers/indexable-taxonomy-change-watcher.php line 136
    			\delete_transient( Indexable_Term_Indexation_Action::UNINDEXED_COUNT_TRANSIENT );
    			\delete_transient( Indexable_Term_Indexation_Action::UNINDEXED_LIMITED_COUNT_TRANSIENT );
    
    			$this->indexing_helper->set_reason( Indexing_Reasons::REASON_TAXONOMY_MADE_PUBLIC );
    			\do_action( 'new_public_taxonomy_notifications', $newly_made_public_taxonomies );
    		}
    
    		// There are taxonomies that have been made private.
    		if ( ! empty( $newly_made_non_public_taxonomies ) ) {
    			// Schedule a cron job to remove all the terms whose taxonomy has been made private.
    			$cleanup_not_yet_scheduled = ! \wp_next_scheduled( Cleanup_Integration::START_HOOK );
    

See this hook used in plugins: