acf/pre_update_{$this->hook_name}
acf/pre_update_{$this->hook_name}
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/pre_update_{$this->hook_name}') is found 1 times:
- /includes/class-acf-internal-post-type.php line 480476477478479480481482483484485486
* @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'
,
'_parent'
) );
// Create array of data to save.