end-form-row.php
1 year ago
end-form.php
2 years ago
end-page.php
2 years ago
field-column.php
2 years ago
field-description.php
2 years ago
field-label.php
1 year ago
field-message.php
2 years ago
field-row.php
2 years ago
messages.php
2 years ago
prev-page-button.php
2 years ago
start-form-row.php
1 year ago
start-page.php
2 years ago
end-form-row.php
13 lines
| 1 | <?php |
| 2 | /** |
| 3 | * End form row template |
| 4 | */ |
| 5 | |
| 6 | // If this file is called directly, abort. |
| 7 | if ( ! defined( 'WPINC' ) ) { |
| 8 | die; |
| 9 | } |
| 10 | $is_group_type = in_array( $this->get_name(), array( 'checkbox-field', 'radio-field' ), true ); |
| 11 | $tag = ( $is_group_type && jet_fb_live_args()->markup_type === 'fieldset' ) ? 'fieldset' : 'div'; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited |
| 12 | printf( '</%s>', esc_attr( $tag ) ); |
| 13 |