PluginProbe ʕ •ᴥ•ʔ
ShopPress – Shop Builder for Elementor and WooCommerce / trunk
ShopPress – Shop Builder for Elementor and WooCommerce vtrunk
shop-press / Elementor / widgets / my-account / login / config.php
shop-press / Elementor / widgets / my-account / login Last commit date
config.php 2 years ago
config.php
37 lines
1 <?php
2 namespace ShopPress\Elementor\Widgets;
3
4 use ShopPress\Elementor\ShopPressWidgets;
5 use Elementor\Controls_Manager;
6
7 defined( 'ABSPATH' ) || exit;
8
9 class MyAccountLogin extends ShopPressWidgets {
10
11 public function get_name() {
12 return 'sp-dashboard-login-register';
13 }
14
15 public function get_title() {
16 return __( 'My Account Login / Register', 'shop-press' );
17 }
18
19 public function get_icon() {
20 return 'sp-widget sp-eicon-login';
21 }
22
23 public function get_categories() {
24 return array( 'sp_woo_dashboard' );
25 }
26
27 protected function register_controls() {
28 do_action( 'shoppress/elementor/widget/register_controls_init', $this );
29 }
30
31 protected function render() {
32 do_action( 'shoppress/widget/before_render', $this->get_settings_for_display() );
33
34 sp_load_builder_template( 'my-account/form-login' );
35 }
36 }
37