Plugin with action ‘save_post’ needs to press publish twice on order to publish
Related Posts:
- A Post is saved twice or more during add_action(save_post)
- Bug: Post needs to be updated twice when adding action for save_post hook
- Saving post meta
- Difference Between Filter and Action Hooks?
- Post meta vs separate database tables
- How to create an API for my plugin?
- How to override existing plugin action with new action
- Which hook should be used to add an action containing a redirect?
- WordPress Update Plugin Hook/Action? Since 3.9
- Which action for triggering cron “wp”or “init”?
- add_action with a class method is causing fatal errors
- How do you use the plugin boilerplate loader class to hook actions and filters?
- add_filter OO with parameters
- How do I print a notice only on certain admin pages?
- Do I need to call do_action in my plugin?
- How Do I Load My Action Earlier Enough?
- Which to use to execute code during the saving of a plugin settings page?
- Does WP fire delete_post when trashed posts are automatically deleted?
- What’s the earliest point I can get the queried object ID?
- How do I Make a Theme “plugin-ready”?
- Save metabox with multiple checkbox array
- Actions or filters fired when data is saved in a custom table
- In a plugin, why is add_action(‘init’) not executed before the plugin is activated?
- How to enable users to down-vote in this simple voting counter (that uses the post meta)?
- What’s the difference between hooks, filters and actions? [duplicate]
- How to use filter hook ‘post_updated_messages’ in coherence with action hook ‘save_post’
- What action is called when drafts are saved?
- Conflicting save_post functions when passing the post id and saving custom meta boxes for different post types
- Is it possible to create an action hook using do_action() within add_action()?
- How can I hook into existing WordPress Bulk actions?
- When is it too late to call the action wp_enqueue_scripts?
- Odd behaviour with submenu link creation
- What is the Difference between directly call a function and call a function using add_action?
- How to add custom content under plugin row in WordPress admin plugin list?
- Define a function outside a class and call the function using action or filter hook
- How can I free up the memory used by update_post_meta?
- Create a plugin to change the action to which a function is hooked
- Get updated post meta on save_post action?
- Is there a way to list tags order by post_meta field
- update_post_meta() whenever custom post type is updated
- Modifying values with add_action to be sent to db
- Woocommerce – Hide a Column in Cart Table
- save_post hook not triggered in WP v3.6.1
- How to redirect to action on custom page within admin section
- Support auto-save and revisions for custom fields
- Plugin development: get_post_meta is not working [closed]
- Ordering posts by metadata
- admin_notices not displaying in plugin
- Hook to get image filename when it is uploaded
- How to run an add_action hook for specific page
- Which action is triggered when a theme was modified?
- wp_transition_post_status does not change the status of the post
- Act on user meta updated, but only once
- Getting admin notices working for plugin errors
- Which are the hooks run before/after when a category’s deletion?
- Should action callbacks start with a verb?
- Execute Hook on the footer or header after activating a plugin
- How to check if Woocommerce Order number equals to post ID?
- Set default Custom Post Meta Value
- An echo line in a transition_post_status action leads to “cannot modify header information – headers already sent by”
- Namespaced action and filter tags
- Issue plugin commands in admin settings page
- My plugin class doesn’t work! [closed]
- using new WP_Query in save_post function alters $post
- update post meta for checkbox in the admin when inserted in the front-end
- 403 Error when text is pasted in Custom Metabox Textarea
- add_action not calling back to function
- Tried in different ways but sidebar not working?
- conditionally load javascript & CSS for do_action() calls from plugin
- Saving value of a selection option in comment form as comment meta
- Add a Save Button to Custom Meta Box [duplicate]
- Strange issue saving custom field data for a WooCommerce order
- Adding rewrite rule dynamically
- How to hook a custom user function to a wordpress core ajax action?
- Prefixing plugin hooks (actions/filters) with a wrapper class or functions
- Unable to change footer using wp_footer action hook
- wp_set_object_terms not updating database without a die()
- Doubts about the use of metadata and how this can affect performance on WordPress
- update_post_meta not working in a loop
- Run Shortcode of post’s custom field in functions.php / Plugin
- How to filter content for specific content variable
- Get draggable widgets on Edit Post page
- load_plugin_textdomain doestn’t work with add_action plugins_loaded
- Show error message after exception handled
- I have 2 plugins using the same wp_login action hook and one is not working
- Valid filenames for add_action’s first parameter
- WordPress class, using add_action to call member function does not work
- Where do I put my add_action(… and add_filter(… and do I need to remove them?
- How dynamic action login_form_{action} is working
- What action hook can I use to add a JavaScript to a page post using a theme template that is not including get_header() nor get_footer()?
- How to get all queries’s results after they have executed?
- Checked() function on a multidimensional array
- Delete data from database using row action
- When does save_post hook fire on post save/update
- A question about add_action()
- Hook add_attachment error
- Call to undefined function is_home() or any conditional tags
- WP nonce field checkbox prints checked=’checked’ outside input field
- WordPress publish_post hook not getting featured image and meta on first publish, but works on updating title
- Ajax: Populate with content from a post’s ID not working – duplicating current page html instead