name = esc_html__( 'Help', 'charitable' ); $this->slug = 'help'; $this->icon = 'panel_help.svg'; $this->order = 100; $this->sidebar = true; $this->button = true; $this->url = 'https://wpcharitable.com/documentation/'; // This should never be called unless we are on the campaign builder page. if ( campaign_is_campaign_builder_admin_page() ) { $this->load_submenu_panels(); } } /** * Enqueue assets for the Design panel. * * @since 1.8.0 */ public function enqueues() { } /** * Load panels. * * @since 1.8.0 */ public function load_submenu_panels() { } /** * Output the Field panel sidebar. * * @since 1.8.0 */ public function panel_sidebar() { } /** * Output the Field panel primary content. * * @since 1.8.0 */ public function panel_content() { } /** * Builder field buttons. * * @since 1.8.0 */ public function fields() { } /** * Sort Add Field buttons by order provided. * * @since 1.8.0 * * @param array $a First item. * @param array $b Second item. * * @return array */ public function field_order( $a, $b ) { return $a['order'] - $b['order']; } } endif; new Charitable_Builder_Panel_Help();