Sorry for this question,
I founded the solution, now I know that i’m a dummy.
if($_GET['action'] == 'edit')
for everyone has my same drama.
(the question remains open for better suggestions about doing that, in the best and most secure way)
Tank you for any suggestion.
Related Posts:
- How to fix ‘Notice: Undefined index:’ in PHP form action
- what is correct way to hook when update post
- Custom plugin: Trying to show saved data on frontend
- Genesis – Customize search form
- Remove Woocommerce product link
- Check php version before theme activation
- Inserting Gravity Form checkbox values into Advanced Custom Fields [closed]
- How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
- How can I hook into and edit the text of a wp_nav_menu tag?
- Check if page parent has certain template
- How to remove “out of stock” variation options from size dropdown in woocommerce?
- Prevent publish status/date saved on transition_post_status hook
- On update to 3.04 site started recording accents as “á” and “á”, what to do?
- Is $hook a global variable in WordPress
- Implement a multi-value input field where the number of entries is not limited
- Executing `createimagefrompng()` from save_post hook (or equivalent hook)
- Getting my head round WordPress filter
- Delete option value from array using update_option()
- How to set a custom path, for ajax image upload folder in admin?
- When using the_author hook, how can I determine the PHP file that generates each call to `the_author()`?
- woocommerce registration form with klaviyo(don’t work with current user)
- Handling Body class based on Template
- How to load a template-part based on a url wildcard?
- Custom Form Processing Issue
- ajax, right way to do it and make it works?
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- Sending data from custom inputs in WordPress comment form in the admin notification email
- How to store data from multiple forms using ajax and php
- How to use $query->set with post__in?
- Ajax loaded form replaces form action with Ajax url
- prevent default not stopping page refresh. Passing form information to and from php with ajax in a wordpress site
- Custom search results page not working with empty search
- Reload part of checkout on changed shipping method
- Trying to build simple deposit code that hooks into woocommerce
- Add a product to checkout via form
- Is it possible to intercept all ajax requests and get the parameters and the returns?
- user_profile_update_errors hook not executing
- Set meta field to publish date + 2 weeks
- WordPress Gravatar filter is removing my custom attributes
- Adding widgets to my plugin page instead of WordPress dashboard
- Input data from email form not going to JSON file
- Modify custom field input data before creating a new post
- Search Query: how to construct a search string from two select elements?
- Form Security: nonce vs. jQuery
- Why does wp_head hook my functions to the beginning of my source code?
- Pass argument to event hook
- Trying do build a contact form
- Can a page contain php code?
- How to catch wordpress post ID when it’s published
- Why does the post_type_link hook everything twice?
- How to add post meta in while loop?
- Adding function to child theme’s function.php
- How to set cookies
- PHP Contact form
- Get wp_current_user_id using PHP and MySQL
- PHP- Why is my contact form keep showing it is invalid? [closed]
- Simple php in wordpress widget [closed]
- Add a custom class to the body tag using custom fields
- Why doesn’t global $wp_query not get hooked?
- Adding data to custom wordpress database table
- How to pass hook variable to function?
- Display multi-select box choices in a bullet list [closed]
- Custom forms with HTML
- Using Ajax to submit a form, and run a SQL Select query based on user input from the form
- How do I add a function to parent theme
- Trying to update Woocommerce meta values
- Use wp_head hook on template page
- Custom PHP form needs refresh to load page correctly
- Adding custom field to product category and show it to shop/category shop page
- How to change this ajax function to submit to the default wordpress content area instead of the custom field ‘seller notes’?
- Confuse between forms and tables
- wordpress contact form messages not sending although it saying they were sent successfully with this php code
- Get original value in save_post action hooka
- Using a PHP form, get the page title or any other element in the sent e-mail
- Register/enqueue scripts only on certain admin pages
- Help hooking into user_register
- Creating a WordPress addon for ContactForm7 submission (.XML file export)
- Insert data from form to database
- not able to access $_POST on backend profile update
- Custom Plugin Develoment, Form Action
- Trouble with checked() for array of multiple checkboxes
- Custom HTML form using PHP – help with ajax/username validation
- How can I move the posted-on date above the post and below the entry-header?
- Ajax call URL 404’ing when pushed to staging server
- Update only some custom user fields
- Post formating on Home page
- Dynamic form variables for post meta
- calling a function from a class in your template
- Headers for Contact Form are wrong
- HOW TO Insert Existing PHP Code to WOrdPress
- Where to put include php file?
- understanding wp_next_scheduled
- Custom form that stores data in mysql database
- transition_post_status hook, works – but not if the post is new
- Guests comment form – prevent duplicate email addresses
- Woocommerce – add tracking code to another email template
- Putting form result in my database
- how to append ACF field data using one of the following filter/ hooks
- Display endpoint’s return into a file (file_put_contents())
- How can I process a form submission from an HTTP POST request?