芝麻web文件管理V1.00
编辑当前文件:/home/ephorei/www/wp-content/plugins/sureforms/inc/fields/gdpr-markup.php
$attributes Block attributes. * @since 0.0.2 */ public function __construct( $attributes ) { $this->set_properties( $attributes ); $this->set_input_label( __( 'I consent to have this website store my submitted information so they can respond to my inquiry.', 'sureforms' ) ); $this->set_error_msg( $attributes, 'srfm_gdpr_block_required_text' ); $this->slug = 'gdpr'; $this->required = true; $this->data_require_attr = 'true'; $this->set_markup_properties(); $this->set_aria_described_by(); } /** * Render the sureforms GDPR classic styling * * @since 0.0.2 * @return string|bool */ public function markup() { $label_random_id = 'srfm-' . $this->slug . '-' . wp_rand(); ob_start(); ?>
aria_described_by ) ? "aria-describedby='" . esc_attr( trim( $this->aria_described_by ) ) . "'" : ''; ?> data-required="data_require_attr ); ?>" type="checkbox" checked_attr ); ?>/>
label, $this->allowed_tags ); ?>
*
help_markup ); ?>
error_msg_markup ); ?>