Timetrap::render_output( awsmug\Torro_Forms\DB_Objects\Forms\Form $form )

Renders the output for the protector before the Submit button.

Description

See also

Parameters

$form

(awsmug\Torro_Forms\DB_Objects\Forms\Form) (Required) Form object.

Source

File: src/modules/protectors/timetrap.php

	public function render_output( $form ) {
		?>
		<input type="hidden" id="torro-timestamp" name="timestamp" value="<?php echo current_time( 'timestamp' ); ?>">
		<?php
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.