By default no action url will mean that the form will be sent to the URL the page was loaded from. Once it is done, the code evaluating the shortcode is checking in the form was submitted and process it.
This is not not a great way to write a from processing code, as the evaluation of shortcodes happens too late for doing something like redirect on success.
Leaving the action empty is not horrible by itself but you should try to be as explicit as possible whenever you can.
Related Posts:
- Let readers suggest edits from the frontend
- Datepicker not supporting timepicker
- Submit custom form from post content and execute in plugin
- Submit Form data to another page via Ajax (WordPress Way)
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- Ajax call to php function doesn’t work PHP code
- What action or filter can I use to change all the html returned from server for a page?
- What action/hook do I need to register to have my plugin handle front-end editing?
- How to only hook on Single.php after content?
- Simple form that saves to database
- What is the ‘admin_action_’ . $_REQUEST[‘action’] hook used for?
- Handling jQuery Component Collision
- Autogenerate wordpress shortcodes using array?
- Enqueue style inside shortcode but its loaded at the bottom of page (before footer scripts)
- Is there a global action for when a plugin is uninstalled?
- Good tools for locating hooks in a wordpress page/admin interface/blog post?
- Very stubborn wp_register_script / add_action vs remove
- Restrict backend but allow to use post.php?action=delete&post=POSTID from front-end
- How to disable autocomplete for inputs in contact form 7? [closed]
- do_action and hook methods
- Is it possible to add an action to the currently running action?
- Is there an action that is called when a post is restored from the trash?
- Action on post publish
- How to prevent action in ajax request, when in admin side?
- Handling jQuery Component Collision
- Can I use a method from an existing plugin as an action hook?
- Detect when any plugin is activated or deactivated
- Overwrite or Replace code in WP_Footer
- Hook into and send mail using WP Mail SMTP type plugin from HTML static front page?
- Preview featured image using frontend post plugin
- Any hook for pre-plugin-update -either bulk or single plugin update
- wp_create_nonce function doesn’t work inside a plugin?
- New User Form – Custom Menu Page
- wordpress plugin is not activating from widget
- When to load auto-login code?
- Anonymous Postings
- Get Time Taken By Each Action Hook in WordPress
- Contributive page where people logged in can write
- Contact Form 7 Get Image Function [closed]
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- Checkbox conflict in my custom plugin admin page
- Trying to fix form resubmition with PRG (Getting error: Cannot modify header information – headers already sent by)
- WordPress user account activation
- WP Plugins – Use includes to display page content
- How to call plugin functions in a custom template
- add_action in a custom plugin
- Add action to fire when a published post is updated
- AJAX fileupload – TypeError: not a function ajaxSubmit()
- Run a plugin just ‘once’ per page reload
- Using add_action before add_filter on a plugin?
- remove_action not removing add_action from constructor
- How to remove products-links after the product title using remove_action
- How to request admin-ajax.php correctly when wordpress URL and site URL are different?
- Custom form not showing in correct place on page
- wp_ajax action responds with 0
- Custom CSS not being added by plugin
- How to use add_action for multiple instances of the same class
- How to Use the Filter “sidebar_login_widget_form_args”
- Is it save to replace with in WordPress search form
- Contact Form 7 Plugin emails not being received by some accounts
- I cannot include a file in my plugin settings page
- Edit post image attributes on fly?
- login form should redirect to register page for in 1st login next time it should redirected to home page
- How to get data from a form on a wordpress site?
- Why do actions with class and public method don’t fire __construct()
- General Term for this form Field
- wp_set_password() does not work!
- How to remove default action from a plugin?
- WordPress website working fine on localhost but not displaying front pages on webhost
- Get post content inside plugin class method
- Unset plugins on front-end belonging to specific category
- How to fix blog article view and share #’s?
- How to send custom mail when a user complete a specific form
- After form submission want to show success message in the form page
- Frontend AJAX Request causes Error: ‘Call to undefined function add_action’
- Help needed with woocommerce (wc stripe) filter
- Front End Page Not Loading Header Footer
- Pause form submissions while upgrading plugins
- How to hide the form after successful php execution
- $POST variable is empty in receiving php add-on function but can be seen by jscript function
- Run only on plug-in activation instead of wp_head
- Am I using an action hook correctly?
- plugins_loaded action is not working properly
- Include plugin form in the home page
- How can i see/log all requests coming from a registration form (not from the UI)?
- Form submit from wordpress plugin
- How do I convince this button to do something when it is clicked?
- add_media_page function not creating submenu
- Linking Plugin Files to WP
- Remove action plugin
- Working on fixing wp-front-end-editor, encountering undefined index
- Filter for modifying image on upload
- Carrying information from button click into form [closed]
- County Finder form/plugin?
- WordPress User Frontend Editing Custom Fields
- add query string to all pages after user logged in
- How wordpress plugin hooks works? [duplicate]
- Hook automatic_updates_complete to autoupdate plugin
- Display Any Field fromAdmin Panel in Frontend via Shortcode?
- Display file contents within Plugin