PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.9.9
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.9.9
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 / elementor / widgets / class-pb-widget-epf.php

class-pb-widget-epf.php in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 3.9.9, at assets/misc/elementor/widgets/class-pb-widget-epf.php

60 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly
4 if ( ! defined( 'ABSPATH' ) ) exit;
5
6 require_once "class-pb-widget-rf-epf.php";
7
8 /**
9 * Elementor widget for our wppb-edit-profile shortcode
10 */
11 class PB_Elementor_Edit_Profile_Widget extends PB_Elementor_Register_Edit_Profile_Widget {
12
13 public function __construct($data = [], $args = null) {
14 parent::__construct($data, $args);
15
16 $this -> register_pb_scripts_styles();
17 }
18
19 /**
20 * Get widget name.
21 *
22 */
23 public function get_name() {
24 return 'wppb-edit-profile';
25 }
26
27 /**
28 * Get widget title.
29 *
30 */
31 public function get_title() {
32 return __( 'Edit Profile', 'profile-builder' );
33 }
34
35 /**
36 * Get widget icon.
37 *
38 */
39 public function get_icon() {
40 return 'eicon-form-horizontal';
41 }
42
43 /**
44 * Register widget controls.
45 *
46 */
47 protected function register_controls() {
48 $this->register_rf_epf_controls( 'epf' );
49 }
50
51 /**
52 * Render widget output in the front-end.
53 *
54 */
55 protected function render() {
56 $this->render_widget( 'epf');
57 }
58
59 }
60