/** * Constructor * * @since 0.1.0 * @param object $run Main plugin object. * @return void */ public function __construct(GCS_Shortcodes_Run_Base $run) { $this->run = $run; parent::__construct($this->run->shortcode, GC_Sermons_Plugin::VERSION, $this->run->atts_defaults); // Do this super late. add_filter("{$this->shortcode}_shortcode_fields", array($this, 'maybe_remove_prefixes'), 99999); }
public function __construct() { parent::__construct('testing', '1.0', array()); }