PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.6
JetFormBuilder — Dynamic Blocks Form Builder v3.6.6
3.6.6.1 3.6.6 3.6.5.4 3.6.5.3 3.6.5.2 3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 134 releases
jetformbuilder / includes / admin / pages / settings / helpful-links-box.php

helpful-links-box.php in JetFormBuilder — Dynamic Blocks Form Builder 3.6.6, at includes/admin/pages/settings/helpful-links-box.php

50 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3
4 namespace Jet_Form_Builder\Admin\Pages\Settings;
5
6 use JFB_Components\Admin\Vui_Boxes\Base_Vui_Panel_Box;
7 use Jet_Form_Builder\Classes\Http\Utm_Url;
8
9 // If this file is called directly, abort.
10 if ( ! defined( 'WPINC' ) ) {
11 die;
12 }
13
14 class Helpful_Links_Box extends Base_Vui_Panel_Box {
15
16 public function get_slug(): string {
17 return 'help';
18 }
19
20 public function get_title(): string {
21 return __( 'Help Center', 'jet-form-builder' );
22 }
23
24 public function get_description(): string {
25 return __( 'Support & Info', 'jet-form-builder' );
26 }
27
28 public function to_array(): array {
29 $utm = new Utm_Url( 'plugin' );
30 $utm->set_medium( 'settings' );
31 $utm->set_campaign( 'help-center-banner/knowledge-base' );
32 $utm->set_content( $utm->get_license_and_theme( true ) );
33
34 return array_merge(
35 parent::to_array(),
36 array(
37 'link_knowledge' => $utm->add_query( JET_FORM_BUILDER_SITE . '/features/overview/' ),
38 'link_support' => 'https://support.crocoblock.com/support/home/',
39 'link_community' => 'https://www.facebook.com/groups/CrocoblockCommunity',
40 'link_git' => 'https://github.com/Crocoblock/jetformbuilder',
41 'label_knowledge' => __( 'Knowledge base', 'jet-form-builder' ),
42 'label_community' => __( 'Ask the community', 'jet-form-builder' ),
43 'label_support' => __( 'Contact support', 'jet-form-builder' ),
44 'label_git' => __( 'Feature requests & bug fixes', 'jet-form-builder' ),
45 )
46 );
47 }
48
49 }
50