function __construct() { // We only want this in the admin. if (!is_admin()) { return; } parent::__construct(); }
function __construct() { // Triggers addIncludes, etc parent::__construct(true); $this->old_api = new KWS_V1API('oauth2', CTCT_APIKEY, CTCT_USERNAME, CTCT_ACCESS_TOKEN); }
function print_styles() { wp_enqueue_script('thickbox'); parent::print_styles(); }
function __construct() { parent::__construct(true); }
function page() { parent::page(); if (!$this->cc->isConfigured()) { echo kws_ob_include(CTCT_DIR_PATH . 'views/admin/view.connect-account.php', $this); } }