public function initialize() { parent::initialize(); do_action('upfront_layout_init', $this); }
protected function __construct($json = false) { $this->_data = $json; $this->initialize(); self::$instance = $this; }