• Hi all!

    I’m developing a plugin, and for now it’s going great.
    But I am stuck at one point – I can’t make WordPress “reload” the page when I press either the “Submit” button, nor the “Delete” button.

    Here is my button code for Delete:

    <form action="" method="POST">
        <input type="hidden" id="blog_delete" name="blog_delete" value="<?php echo $print->id; ?>">
        <?php wp_nonce_field('comment_delete_nonce') ?>
        <?php submit_button('Delete', 'button-primary', 'comment_delete'); ?>
        </form>

    I get the “Success”-message, but I have to refresh the page myself in order to see the changes..

    How can I do this smarter
    Is there any way I can make WordPress refresh the page for me whenever I press those buttons?

    Thank you in advance!
    Best regards

    Aris Kuckovic

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Load page after submit/delete’ is closed to new replies.