acf/update_{$this->hook_name}_active_status
acf/update_{$this->hook_name}_active_status
Appears in: advanced-custom-fields.6.3.5
Hook Type: action
Displaying hooks found in version: advanced-custom-fields.6.3.5do_action('acf/update_{$this->hook_name}_active_status') is found 1 times:
- /includes/class-acf-internal-post-type.php line 780776777778779780781782783784785786
* @since 6.0.0
*
* @param
array
$updated_post
The updated ACF post
array
.
*/
do_action(
"acf/update_{$this->hook_name}_active_status"
,
$updated_post
);
if
( ! isset(
$updated_post
[
'active'
] ) ||
$activate
!==
$updated_post
[
'active'
] ) {
return
false;
}
return
true;