bricks_widget_book_button.php
1 year ago
bricks_widget_book_form.php
1 year ago
bricks_widget_calendar.php
1 year ago
bricks_widget_customer_dashboard.php
1 year ago
bricks_widget_customer_login.php
1 year ago
bricks_widget_list_of_resources.php
1 year ago
bricks_widget_customer_login.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | exit; |
| 5 | } |
| 6 | |
| 7 | class Latepoint_Bricks_Widget_Customer_Login extends \Bricks\Element { |
| 8 | |
| 9 | public $category = 'latepoint'; |
| 10 | public $name = 'latepoint_customer_login'; |
| 11 | public $icon = 'ti-lock'; |
| 12 | |
| 13 | public function set_controls() { |
| 14 | $this->controls['_width']['default'] = '100%'; |
| 15 | } |
| 16 | |
| 17 | public function get_label(): string { |
| 18 | return esc_html__( 'Customer Login', 'latepoint' ); |
| 19 | } |
| 20 | |
| 21 | // Render element HTML |
| 22 | public function render() { |
| 23 | echo do_shortcode('[latepoint_customer_login]'); |
| 24 | } |
| 25 | } |