=' ) ) { if ( ! headers_sent() ) { header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' ); header( 'Cache-Control: no-cache, must-revalidate, max-age=0' ); } fastcgi_finish_request(); } if ( ! empty( $_POST ) || defined( 'DOING_AJAX' ) || defined( 'DOING_CRON' ) ) { die(); } /** * Optional password lock to avoid expensive DDOS attacks */ # define( 'GH_CRON_PASS', 'your_password' ); # # if ( $_GET[ 'pass' ] !== GH_CRON_PASS ){ # die(); # } /** * Tell WordPress we are doing the CRON task. * * Keep for compatibility * * @var bool */ define( 'DOING_CRON', true ); if ( ! defined( 'ABSPATH' ) ) { /** Set up WordPress environment */ require_once( __DIR__ . '/wp-load.php' ); } // Check if Groundhogg is active... if ( ! defined( 'GROUNDHOGG_VERSION' ) ){ die(); } do_action( 'groundhogg_process_queue' ); die();