wip patches added to options

This commit is contained in:
asus
2024-03-24 12:37:38 +01:00
parent 5c93938b53
commit 94dbe05f87
3 changed files with 87 additions and 19 deletions

View File

@@ -1,6 +1,13 @@
<!--
{"hide_show":false,"calculations":false}
-->
<!-- 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">
<input type="hidden" name="action" value="<?php echo $admin_post_patches; ?>">
<?php wp_nonce_field($nonce['_action'], $nonce['_name']); ?>
<div>
<input type="checkbox" id="calculation_patch" name="calculation" checked />