jetpack_stats_transient_cleanup_disabled

jetpack_stats_transient_cleanup_disabled

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.6

apply_filters('jetpack_stats_transient_cleanup_disabled') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-stats/src/class-transient-cleanup.php line 159
    		 * @since 0.18.0
    		 *
    		 * @param bool $disabled Whether to disable transient cleanup. Default false.
    		 */
    		if ( apply_filters( 'jetpack_stats_transient_cleanup_disabled', false ) ) {
    			return false;
    		}
    
    		// Skip if using external object cache - transients auto-expire there.
    		if ( wp_using_ext_object_cache() ) {
    			return false;