15 lines
612 B
HTML
15 lines
612 B
HTML
<!-- https://developer.wordpress.org/reference/hooks/admin_post_action/ -->
|
|
<form method="POST" action="<?php echo admin_url( 'admin-post.php' ); ?>">
|
|
<input type="hidden" name="action" value="add_patches">
|
|
<?php wp_nonce_field($nonce['_action'], $nonce['_name']); ?>
|
|
<div>
|
|
<input type="checkbox" id="calculation_patch" name="calculation" checked />
|
|
<label for="calculation_patch">calculation patch</label>
|
|
</div>
|
|
<div>
|
|
<input type="checkbox" id="hide_show_elements" name="hide_show" />
|
|
<label for="hide_show_elements">hide/show elements</label>
|
|
</div>
|
|
<input type="submit" value="send"/>
|
|
</form>
|