woocommerce_delete_expired_transient_files_interval

woocommerce_delete_expired_transient_files_interval

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.2.3

apply_filters('woocommerce_delete_expired_transient_files_interval') is found 1 times:

  • /src/Internal/TransientFiles/TransientFilesEngine.php line 370
    				 * @return int The time to actually wait before the next action run, in seconds.
    				 *
    				 * @since 8.5.0
    				 */
    				$new_interval = apply_filters( 'woocommerce_delete_expired_transient_files_interval', DAY_IN_SECONDS );
    			}
    
    			$next_time = $this->legacy_proxy->call_function( 'time' ) + $new_interval;
    			$this->legacy_proxy->call_function( 'as_schedule_single_action', $next_time, self::CLEANUP_ACTION_NAME, array(), self::CLEANUP_ACTION_GROUP );
    		}
    	}