I want to avoid to execute the bulk action again if someone reloads the page accidentally. If the bulk actions are processed with method POST a warning will be launched at least.
Could be this possible?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI want to avoid to execute the bulk action again if someone reloads the page accidentally. If the bulk actions are processed with method POST a warning will be launched at least.
Could be this possible?
Actually it was so simple. In order to process bulk actions with post method I should generate the table as follows:
<form id="table-filter" method="post">
<input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
<?php $wc_rev_ga_trans->display(); ?>
</form>