attachment_fields_to_save is still called.
Just tried out this on my wordpress 3.5. installation and the following code killed wordpress when saving an image.
add_filter('attachment_fields_to_save', function() {
die('attachment_fields_to_save');
});
Related Posts:
- trigger save_post event programmatically
- Wp_update_post: Infinite loop even with remove_action solution, OOP
- Is it possible to save/modify a post without calling the “save_post” action hook?
- Returning ACF custom field from publish_post
- How to check what kind of saving it is?
- How to catch and modify custom field values when a page is updated
- Conditional for autosave or auto draft?
- save_post hook to add terms getting deleted when using bulk edit
- Add action save post when create and publish
- remove_action(‘save_post’) in function that was triggered by save post not working
- set_post_format called after wp_update_post when using bulk edit?
- WordPress save_post hook not firing when checking if _GET[‘post’] is set
- How do I set a custom post type Category after import using wp_set_post_terms
- Show admin notice if metabox field is empty during save post
- update ACF field when saving post on back office
- WooCommerce: change display order of product short description and price [closed]
- Is there a WordPress core & plugins update action hook?
- is it possible to get the hook name in add_action?
- What hook is executed just after wp_query has been executed?
- How to properly test a method that is called by an action hook
- How can I do customizations on login, registration and password recovery forms?
- Can’t get ID of post that relates to the comment
- Custom form action hook
- How to send an automated user ‘inactivity’ email?
- How do I successfully create a hook for an email override?
- Placement of Code in Plugin for hooking `save_post`
- WooCommerce – Overwrite action hook [closed]
- Admin Hook at the Login Page
- Cast string to number
- How to debug user_register hook
- Storing state between hook functions
- What’s the difference between “wp” and “wp_loaded”?
- WordPress capabilities and restricted categories access
- Hook when new CPT published AND postmeta inserted
- How to use custom form on add_meta_boxes callback
- Is it possible to switch Gutenberg’s editor styles when document settings change?
- Updating post data on save (save_post vs wp_insert_post_data)
- schedule event in class oriented plugin
- Action hook for custom tax edit
- How can I find the hook I need to rewrite a function?
- Displaying list of cities according to the selected state. Using the WordPress hook
- Show message in media-new.php
- Removing parent theme action on pluggable function not working
- Removing a Filter
- Which action hook should I use to intercept a form upon submission?
- Would there be anything stopping me from removing both wp_head and wp_footer?
- Where Are Hooks?
- WordPress wp_loaded action hook
- Check if `do_action()` in WordPress returns any result
- How to cancel an action hooked to untrash_post? or any hook
- Defining hooks within (php)classes?
- Divi hook not working [closed]
- Add WordPress hook outside of Plugin or Theme
- How to perform action when plugin/theme editor is used?
- How to run hooks one by one manually?
- What is the proper hook to use for recording a post view?
- How to load this code on function.php
- Woocommerce single_product_summary hook not working
- Where is publish_post hook fired?
- A good hook to check authorization and redirect?
- Catch and display error on save_post action
- Bloginfo hook – can it be more precise?
- Custom posts and get_post_meta in {$post_status}_{$post_type}
- Hooking custom PHP output into WP: how to do it, parse_request almost works but not quite
- Print on screen during shutdown hook – error during saving in theme-editor.php
- How to stop execution of a function via add_action hook?
- changing genesis_before_while in new theme framework
- Moving Javascript from footer to header
- Adding a new hidden field based on a condition in Ninja Forms
- Forcing WooCommerce customers to create account before checking out
- Store user ID on wp_term_taxonomy when new term inserted
- ‘user_register’ hook – need to distinguish if created from wp admin panel
- Make multiple URLs behave as home page
- Issue migrating a checkbox-type meta field to the block editor
- Transition_Post_Status hook not working properly
- Wodpress XML Import hooks
- profile_update hook does not fire from front-end
- wp_update_post not getting triggered by hook
- How to get user profile information before update?
- Why is pre_get_posts hook invoked multiple times?
- Undefined fieldId in gform.addFilter for limiting dates in datepicker – Gravity Forms
- Get First Post content and edit it using pre_get_posts (or similar?!)
- Are there Hooks for featured image popup?
- WordPress sending data with add_action
- How to hide / remove attachment “alt” or “caption” field in Admin?
- Why does get_post() not return anything?
- Hourly events don’t get triggered
- Access post meta just after publishing
- Which hook runs first(init,… or ???) [duplicate]
- Using actions, hooks and filters in a non-WordPress page
- Which hook should I use for this scenario regarding the registration process and account/profile update?
- Hook into create_category
- Redirect back to origin page after using get_delete_post_link()
- $GLOBALS & global doesn’t work [closed]
- Is there any Reference of WordPress hook and hacks? [closed]
- Thesis Theme -> hooks not working for custom function
- Can I display text that’s generated by a hook in another place in the HTML?
- Get post ID before add_theme_support
- Is there a way to assign a default Category to a Post when the user creates a new Post?
- is_user_logged_in() doesn’t work after custom login and redirect