Not sure if this is the exact problem you have, but it sounds like the ‘save_post’ hook is going recursive.
What you need to do is unhook, do your updates, then rehook.
{
remove_action('save_post', array( $this, 'pushfeed_save_post_meta' ));
// Do update work...
add_action('save_post', array( $this, 'pushfeed_save_post_meta' ));
}
Related Posts:
- All of my custom posttypes are 404’ing
- Inserting Plugins Into Blank Space of Externally Designed WordPress Theme
- submit two file input fields in the same form
- How to get checkbox by default true in metabox?
- Remove action added in plugin class from theme
- Meta box not displaying on the plugin page
- add_meta_box showing blank screen in my page
- Correct way to make meta box with more than one meta field secure
- Why does my functions.php cause white-screen and media-library issues?
- How to make a slideshow shortcode based on the WordPress gallery shortcode? [closed]
- wordpress plugin is not activating from widget
- how to give a user a role?
- Insert new user with form submit ‘init’ hook
- get_post_type on post.php
- When to load auto-login code?
- How to get all of the activate_plugin action parameters?
- Save / Show multi line text in metabox
- Display post lists in 2nd paragraph
- wp_get_post_terms is difference obj model than the one in rest api response
- Calling plugin function inside custom plugin for onclick event
- PHP basics help in WP context – remove a class/function?
- How to check current user before all actions and filters?
- how to add a button next to the wordpress view button?
- Classified ad website : which solutions to use? [closed]
- CampaignMonitor for WooCommerce – Move subscribe button [closed]
- Get Time Taken By Each Action Hook in WordPress
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- Making sure that a plugin’s scripts and stylesheets are included for dynamicaly loaded content
- Best place for short bio,image and button [closed]
- How to remove plugin metaboxes from edit.php
- Removing an action from wp_footer called in a class that’s inside a bigger class
- What are the specifics of WordPress development I need to know? [closed]
- How can I make my metabox appear?
- Plugin developer automated documentation
- How to inform the user that the save was not successful?
- Custom plugin init action causing general slowness
- Is there a hook to Intercept al urls from a webpage and redirect to a page
- WordPress shows error related to allow_url_fopen
- add_action in static class [closed]
- How to create a code editor for my plugin .?
- How to show only next post pagination link using wp_link_pages()
- Finding the URL to be used to check if plugin is installed with a theme
- WordPress user account activation
- Js file is not adding using this code in functions.php
- wp_footer hook only working on homepage not in other pages
- Show meta box only when post is being published first time
- External Script Using WP – Hooks / Actions Not Working?
- Retrieving Meta from Image Attachment
- How can I position ShareThis buttons manually when using the plug-in? [closed]
- Submit custom form from post content and execute in plugin
- WordPress metaboxes – textfield suggestion automatically populated
- Inject HTML meta tag inside wordpress tag using add_shortcode
- Plugin can not display in my custom theme
- How to get post ID with hooks publish_post, new_to_publish, etc
- add_action in a custom plugin
- How to use get_template part in the plugin?
- register_activation_hook in oop approach
- Jquery NoConflict Problem
- Redirect to another page using contact form 7? [closed]
- What is @Action in WordPress?
- Problem with removing plugin action
- edit_user_profile and show_user_profile are not firing inside a class
- Why are my queries interfering with the global post variable?
- Add action to fire when a published post is updated
- Overriding Parent Theme… will cause plugins failure?
- do add_action on condition
- Is there a way to figure out which action/filter invoked a function?
- get gravity form ID from backend/wordpress admin
- WordPress premium theme development [duplicate]
- How do I combine a theme with a plugin
- How to pass variables to a function argument using add_action [duplicate]
- _prime_post_caches in wordpress
- how to force tag page layout to use same as search layout?
- How to trace SUBMIT button
- How passing values to construct function with Actions?
- Remove_action from plugin with a Class
- How can I show a different theme for admin users? WP 3.8+
- add_action into another add_action not working
- publish_post action doesn’t work
- Run a plugin just ‘once’ per page reload
- Using add_action before add_filter on a plugin?
- Great blogs site resources/tutorial for WordPress Developers? [closed]
- Finding the screen id of a page generated with add_menu_page
- a weird attribute on every html tag
- Submit Form data to another page via Ajax (WordPress Way)
- How to show the number of website visitors in my theme
- the_post hook is not firing for me
- Why do plugins often ask to add in to templates?
- Does using `add_action( ‘init’…` cause performance issues?
- do_action Nested List
- How to write “alt” tag in image for wordpress code?
- Create a post builder skin in a plugin
- remove_action not removing add_action from constructor
- Plugin Development – Functions or Hooks?
- Date format – Meta Box plugin
- How to get menu location in wp_update_nav_menu hook
- How do I add some javascript validation to the admin interface form’s onsubmit?
- Basic function call on init failing
- multiple language website navigation menu suggestion
- Meta Box by Rilwis, Load metabox on all page templates EXCEPT the homepage