lock-behavior.php in Elementor Website Builder – more than just a page builder 3.34.3, at core/behaviors/interfaces/lock-behavior.php
| 1 | <?php |
| 2 | namespace Elementor\Core\Behaviors\Interfaces; |
| 3 | |
| 4 | if ( ! defined( 'ABSPATH' ) ) { |
| 5 | exit; // Exit if accessed directly. |
| 6 | } |
| 7 | |
| 8 | interface Lock_Behavior { |
| 9 | |
| 10 | /** |
| 11 | * @return bool |
| 12 | */ |
| 13 | public function is_locked(); |
| 14 | |
| 15 | /** |
| 16 | * @return array { |
| 17 | * |
| 18 | * @type bool $is_locked |
| 19 | * |
| 20 | * @type array $badge { |
| 21 | * @type string $icon |
| 22 | * @type string $text |
| 23 | * } |
| 24 | * |
| 25 | * @type array $content { |
| 26 | * @type string $heading |
| 27 | * @type string $description |
| 28 | * } |
| 29 | * |
| 30 | * @type array $button { |
| 31 | * @type string $text |
| 32 | * @type string $url |
| 33 | * } |
| 34 | * |
| 35 | * } |
| 36 | */ |
| 37 | public function get_config(); |
| 38 | } |
| 39 |