PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.6
JetFormBuilder — Dynamic Blocks Form Builder v3.6.6
3.6.6.1 3.6.6 3.6.5.4 3.6.5.3 3.6.5.2 3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 134 releases
jetformbuilder / templates / fields / action-button.php

action-button.php in JetFormBuilder — Dynamic Blocks Form Builder 3.6.6, at templates/fields/action-button.php

28 lines 740 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * submit button template
4 *
5 * @var \Jet_Form_Builder\Blocks\Render\Action_Button_Render $this
6 */
7
8 // If this file is called directly, abort.
9 if ( ! defined( 'WPINC' ) ) {
10 die;
11 }
12
13 $render_wrapper = false;
14
15 // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
16 if ( ! empty( $this->wrapper->attrs ) ) :
17 $render_wrapper = true; ?>
18 <div <?php $this->wrapper->render_attributes_string(); ?>>
19 <?php endif; ?>
20 <?php require $this->get_global_template( 'common/prev-page-button.php' ); ?>
21 <button <?php $this->render_attributes_string(); ?>><?php echo wp_kses_post( $args['label'] ); ?></button>
22 <?php if ( $render_wrapper ) : ?>
23 </div>
24 <?php
25 endif;
26 // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
27
28