PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 4.0.3
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v4.0.3
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
profile-builder / assets / misc / divi / includes / ProfileBuilderDiviExtension.php

ProfileBuilderDiviExtension.php in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 4.0.3, at assets/misc/divi/includes/ProfileBuilderDiviExtension.php

53 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 class WPPB_ProfileBuilderDiviExtension extends DiviExtension {
4
5 /**
6 * The gettext domain for the extension's translations.
7 *
8 * @since 1.0.0
9 *
10 * @var string
11 */
12 public $gettext_domain = 'wppb-profile-builder-divi-extension';
13
14 /**
15 * The extension's WP Plugin name.
16 *
17 * @since 1.0.0
18 *
19 * @var string
20 */
21 public $name = 'profile-builder-divi-extension';
22
23 /**
24 * The extension's version
25 *
26 * @since 1.0.0
27 *
28 * @var string
29 */
30 public $version = '1.0.0';
31
32 /**
33 * WPPB_ProfileBuilderDiviExtension constructor.
34 *
35 * @param string $name
36 * @param array $args
37 */
38 public function __construct( $name = 'profile-builder-divi-extension', $args = array() ) {
39 $this->plugin_dir = plugin_dir_path( __FILE__ );
40 $this->plugin_dir_url = plugin_dir_url( $this->plugin_dir );
41
42 $this->_builder_js_data = array(
43 'nonces' => array(
44 'pb_divi_render_form_nonce' => wp_create_nonce( 'pb_divi_render_form' ),
45 )
46 );
47
48 parent::__construct( $name, $args );
49 }
50 }
51
52 new WPPB_ProfileBuilderDiviExtension;
53