/** * Init * * @return [type] [description] */ function setup() { parent::setup(); global $blimply; $this->blimply = $blimply; $this->blimply->action_admin_init(); $this->set_options(); }
public function setup() { parent::setup(); $this->prophet = new \Prophecy\Prophet(); $this->settings = new Settings(); $this->settings->set('api_key', 'foo'); $this->settings->set('api_secret', 'bar'); $this->settings->set('api_channel', 'baz'); }
public function setup() { parent::setup(); $this->prophet = new \Prophecy\Prophet(); $this->settings = new Settings(); $this->settings->set('api_key', 'foo'); $this->settings->set('api_secret', 'bar'); $this->settings->set('api_channel', 'baz'); $this->original_user_id = get_current_user_id(); }
public function setUp() { parent::setup(); $this->controller = new SessionsController(); }
public function setup() { parent::setup(); $this->settings = new Settings(); }
public function setUp() { // Override the normal server with our spying server. $GLOBALS['wp_rest_server'] = new Spy_REST_Server(); parent::setup(); }
public function setUp() { parent::setup(); $this->containerTitle = 'Page Settings'; $this->page = get_post($this->factory->post->create(array('post_type' => 'page'))); }
public function setUp() { parent::setup(); $this->controller = new PasswordsController(); }
public function setUp() { parent::setup(); $this->controller = new RegistrationsController(); }
/** * Init * @return [type] [description] */ function setup() { parent::setup(); global $frontend_uploader; $this->fu = $frontend_uploader; }
/** * Init * * @return [type] [description] */ function setup() { parent::setup(); $this->di = new Drop_It(); $this->di->register_drops(); }