separator.php
32 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Separator Markup |
| 4 | * |
| 5 | * @package factory-forms |
| 6 | * @since 1.0.0 |
| 7 | */ |
| 8 | |
| 9 | // Exit if accessed directly |
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | exit; |
| 12 | } |
| 13 | |
| 14 | if ( ! class_exists( 'Wbcr_FactoryForms600_Separator' ) ) { |
| 15 | class Wbcr_FactoryForms600_Separator extends Wbcr_FactoryForms600_CustomElement { |
| 16 | |
| 17 | public $type = 'separator'; |
| 18 | |
| 19 | /** |
| 20 | * Shows the html markup of the element. |
| 21 | * |
| 22 | * @since 1.0.0 |
| 23 | * @return void |
| 24 | */ |
| 25 | public function html() { |
| 26 | ?> |
| 27 | <div <?php $this->attrs(); ?>></div> |
| 28 | <?php |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 |