public function setUp() { parent::setUp(); require_once __DIR__ . '/includes/testing-shortcode.php'; $this->shortcode = new Test_Shortcode(); $this->shortcode->shortcode_callback(array('color' => 'blue'), 'Some SC content [foo]'); add_shortcode('foo', function () { return 'bar'; }); }
public function setUp() { parent::setUp(); require_once __DIR__ . '/includes/testing-shortcode-admin.php'; $this->shortcode_admin = new Test_Shortcode_Admin(); }
public function setUp() { parent::setUp(); require_once __DIR__ . '/includes/testing-shortcode.php'; }