acf/pre_update_{$this->hook_name}
acf/pre_update_{$this->hook_name}
Appears in: advanced-custom-fields.6.1.4
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.1.4apply_filters('acf/pre_update_{$this->hook_name}') is found 1 times:
- /includes/class-acf-internal-post-type.php line 482
* @since 6.1 * * @param array $post The main ACF post array. */ $post = apply_filters( "acf/pre_update_{$this->hook_name}", $post ); // Make a backup of internal post type data and remove some args. $_post = $post; acf_extract_vars( $_post, array( 'ID', 'key', 'title', 'menu_order', 'fields', 'active', '_valid' ) ); // Create array of data to save.