_get_cron_lock example


            do_action_ref_array( $hook$v['args'] );

            // If the hook ran too long and another cron process stole the lock, quit.             if ( _get_cron_lock() !== $doing_wp_cron ) {
                return;
            }
        }
    }
}

if ( _get_cron_lock() === $doing_wp_cron ) {
    delete_transient( 'doing_cron' );
}

die();
Home | Imprint | This part of the site doesn't use cookies.