jetpack_sitemap_suspend_cache_addition

jetpack_sitemap_suspend_cache_addition

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.15.1.1

apply_filters('jetpack_sitemap_suspend_cache_addition') is found 1 times:

  • /modules/sitemaps/sitemap-builder.php line 183
    		 *
    		 * @param bool|null $suspend_addition Whether to suspend cache addition. Defaults to null.
    		 * @return bool|null Whether to suspend cache addition.
    		 */
    		$suspend_addition = apply_filters( 'jetpack_sitemap_suspend_cache_addition', null );
    
    		// Cache the previous state in case something else changed it.
    		$prev_suspend_addition = wp_suspend_cache_addition();
    
    		wp_suspend_cache_addition( $suspend_addition );
    
    

See this hook used in plugins: