PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.5.4
JetFormBuilder — Dynamic Blocks Form Builder v3.5.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 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / includes / admin / pages / settings / pro-notice.php
jetformbuilder / includes / admin / pages / settings Last commit date
helpful-links-box.php 2 years ago pro-notice.php 2 years ago settings-page.php 2 years ago useful-banner-box.php 2 years ago
pro-notice.php
47 lines
1 <?php
2
3
4 namespace Jet_Form_Builder\Admin\Pages\Settings;
5
6 use JFB_Components\Admin\Buttons\Base_Vui_Button as Button;
7 use JFB_Components\Admin\Notices\Base_Notice;
8 use Jet_Form_Builder\Classes\Http\Utm_Url;
9
10 // If this file is called directly, abort.
11 if ( ! defined( 'WPINC' ) ) {
12 die;
13 }
14
15 class Pro_Notice extends Base_Notice {
16
17 public function get_id(): string {
18 return 'see-pro-addons';
19 }
20
21 public function get_message(): string {
22 return __(
23 'Expand your forms functionality with automate, calculate, integrations of payments gateways,
24 CRMs and email marketing. Try premium addons for JetFormBuilder plugin.',
25 'jet-form-builder'
26 );
27 }
28
29 public function get_buttons(): array {
30 $utm = new Utm_Url( 'plugin' );
31 $utm->set_medium( 'notification-bar' );
32 $utm->set_campaign( 'check-pro-addons-button' );
33 $utm->set_content( $utm->get_license_and_theme() );
34
35 return array(
36 ( new Button( 'check' ) )
37 ->set_label( __( 'Check Pro Addons', 'jet-form-builder' ) )
38 ->set_size( Button::SIZE_MINI )
39 ->set_url( $utm->add_query( JET_FORM_BUILDER_SITE . '/addons/' ) ),
40 ( new Button( 'thanks' ) )
41 ->set_label( __( 'No, thanks', 'jet-form-builder' ) )
42 ->set_size( Button::SIZE_MINI )
43 ->set_style( Button::STYLE_ACCENT_BORDER ),
44 );
45 }
46 }
47