PUM_Admin_Upgrade_Routine_2::run()
Description Description
Source Source
File: includes/admin/upgrades/class-pum-admin-upgrade-routine-2.php
public static function run() { if ( ! current_user_can( PUM_Admin_Upgrades::instance()->required_cap ) ) { wp_die( __( 'You do not have permission to do upgrades', 'popup-maker' ), __( 'Error', 'popup-maker' ), array( 'response' => 403 ) ); } ignore_user_abort( true ); if ( ! pum_is_func_disabled( 'set_time_limit' ) ) { @set_time_limit( 0 ); } PUM_Admin_Upgrade_Routine_2::process_popups(); PUM_Admin_Upgrade_Routine_2::cleanup_old_data(); }
Expand full source code Collapse full source code View on Trac