/** * Draw the content of this view * * @brief Draw content */ public function draw() { ?> <div data-type="wpdk-header-view" id="<?php echo $this->id; ?> " class="wpdk-vc-header-icon"></div> <h2><?php echo $this->title; ?> <?php /** * Fires into the the title TAG. * * @since 1.5.16 * * @param WPDKHeaderView $header_view An instance of WPDKHeaderView class. */ do_action('wpdk_header_view_inner_title', $this); /** * Fires into the the title TAG. * * The dynamic portion of the hook name, $id, refers to the header view id. * * @since 1.5.16 * * @param WPDKHeaderView $header_view An instance of WPDKHeaderView class. */ do_action('wpdk_header_view_inner_title-' . $this->id, $this); /** * Fires into the the title TAG. * * @deprecated since 1.5.16 * @param WPDKHeaderView $header_view An instance of WPDKHeaderView class. */ do_action('wpdk_header_view_' . $this->id . '_title_did_appear', $this); // @deprecated //do_action( 'wpdk_header_view_title_did_appear', $this ); ?> </h2> <?php /** * Fires after the the title. * * @param WPDKHeaderView $header_view An instance of WPDKHeaderView class. */ do_action('wpdk_header_view_after_title', $this); /** * Fires after the the title. * * The dynamic portion of the hook name, $id, refers to the header view id. * * @since 1.5.16 * * @param WPDKHeaderView $header_view An instance of WPDKHeaderView class. */ do_action('wpdk_header_view_after_title-' . $this->id, $this); // @deprecated do_action('wpdk_header_view_' . $this->id . '_after_title', $this); // @deprecated //do_action( 'wpdk_header_view_after_title', $this ); ?> <?php parent::draw(); }