To me it makes sense to send via GET to the page you are currently on.
That way you just hook into admin_init and check for your GET variables.
As for security you can pass nonces via URLS: http://codex.wordpress.org/Function_Reference/wp_nonce_url
Related Posts:
- wp_create_nonce function doesn’t work inside a plugin?
- What are the common security flaws I need to look for? [closed]
- WordPress Capabilities: edit_user vs edit_users
- Plugin development: how to create a form and get custom data?
- Security error WP 4.0 + WP phpBB Bridge [closed]
- Should I use RIPS tool to test my themes and plugins?
- shortcode doesn’t work
- When is it useful to use wp_verify_nonce
- Admin page: form with enctype=”multipart/form-data” does not transfer its data
- Escape when echoed
- How to trigger $_GET request within admin plugin page?
- Custom form action to handle data inside a plugin
- New User Form – Custom Menu Page
- Using a custom plugin to capture input data via Ajax and PHP
- Checkbox conflict in my custom plugin admin page
- I should enable automatic updates?
- Prevent direct access to WordPress plugin assets?
- Submit Form data to another page via Ajax (WordPress Way)
- How to prevent plugins from sniffing/stealing other plugins’ options?
- Select Form Element Not Saving from Plugin Options
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- Security of a WordPress Plugin
- User loggedin as Subscriber form not sending
- Help to Create a Simple Plugin to make a post
- Content-Security-Policy implementation with WordPress W3Total Cache plugin installed
- Securing a plugin pop-up window
- submit form data to wordpress existing database table using my plugin
- wp_verify_nonce fails always
- WP_Filesystem usage within a block of code
- How can i see/log all requests coming from a registration form (not from the UI)?
- Validating values using Settings API?
- Linking Plugin Files to WP
- Create plugin with form in post and submit it to specific form
- Capturing POST data
- Creating fields in the database
- Undefined variable _POST
- Display file contents within Plugin
- WordPress.Security.NonceVerification.Recommended
- Trying to Find the PHP File/Function that Handles a Specific Form Action URL
- How to verify/test that a custom built wordpress theme is as secure as possible?
- Show Similar Post Titles ( Similar to Stack Exchange )
- Add content to /wp-admin/plugin-install.php admin screens
- Need a function for changing saved post_date or post_date_gmt to relative time in wordpress
- How can I create a simple interface for my WP plugin?
- Where to put my global functions?
- Where does WordPress register default scripts like jQuery?
- Help With MySQL to WPDB Query Conversion
- code is working properly in Core PHP but writing coding in WordPress
- Check for security updates
- WordPress Jquery UI Spinner
- How can I modify admin bar only if my plugin is loaded
- Adding custom meta boxes to specified custom post type
- How can I add IP address to my post?
- How to add/change (woocommerce) product tab icon
- How to write to a separate PHP file in plugin settings
- How to set the default value as the saved value once a form of widget is saved?
- Is it save to replace with in WordPress search form
- How to show multi line output from metabox
- How to keep plugin (media-sync) running even the tab is closed?
- How does the WP repository determine that two plugins are the same when counting active installs?
- Need to edit author permissions | custom taxonomy
- Where do I put the code snippets I found here or somewhere else on the web?
- Is it possible to pin a post in second position from top
- Visual composer custom element error
- admin_notices show after load completed
- function post to trash problem
- How to call function in WordPress on button click?
- how to add a hidden type input to wp admin login form programmatically
- How can I see $post object in frontend from functions.php?
- when i activate my WordPress plugin cannot see customizer options or preview
- Plugin Options Page and Subpage
- Protect WordPress option value
- Plugin: Translated plugin is “not translated”
- ABSPATH doesn’t work
- Custom Function for SEO by Yoast plugin
- Custom feed parameters / Template overriding
- wordpress select multiple options and illegal string offset ‘timeslot’ [closed]
- Create Custom Coupon Type
- how to show selected options drop down menu values in attributes field in after saving post.php
- How can I make my plugin detect if a certain theme is active?
- Plugin Block at the backend of every page or post
- Is it possible to create post in wordpress using postman?
- wp_enqueue_script doesn’t load JS in plugin
- AI Code For OpenAI
- Pulsing circle before the post title (Breaking news flash)
- How to provide page_template path in custom plugin using WordPress
- WordPress User Registration/ Sign Up -> Able to take Paid Certification Courses & keep track of Completed Certificates
- Block Root REST API Route using custom &/or iThemes
- WordPress custom block: Link saved in database not retrieved when editing post
- Accessing Correct Database to Create REST API Endpoint
- Detect if user is on the specific page in WordPress
- A multi-section WordPress store [closed]
- Read page- or post-content across different builder-plugins
- How to make WordPress Plugin run on single specific Admin Page
- Frontend Enqueued Files in the Backend
- Why WP CLI command is not visible in VIP CLI
- How to add a react element into the DOM node (only on the user-interaction like on click) without using the state?
- WordPress theme development – the template dropdown in Pages and disappeared
- How to get next day date of a specific day
- Is there a WordPress plugin or solution that allows to set up forms with a total control over markup