$attributes Block attributes. * @since 0.0.2 */ public function __construct( $attributes ) { $this->set_properties( $attributes ); $this->set_input_label( __( 'Checkbox', 'sureforms' ) ); $this->set_error_msg( $attributes, 'srfm_checkbox_block_required_text' ); $this->slug = 'checkbox'; $this->set_markup_properties(); $this->set_aria_described_by(); } /** * Render the sureforms checkbox classic styling * * @since 0.0.2 * @return string|boolean */ public function markup() { $label_random_id = 'srfm-' . $this->slug . '-' . wp_rand(); ob_start(); ?>