/** * Display the content of this view controller * * @brief Display the view controller */ public function display() { do_action($this->id . '_will_view_appear', $this); // @deprecated do_action('wpdk_view_controller_will_view_appear', $this->view, $this); $this->view->display(); // @deprecated do_action('wpdk_view_controller_did_view_appear', $this->view, $this); do_action($this->id . '_did_view_appear', $this); }