acf/untrash_{$this->hook_name}
acf/untrash_{$this->hook_name}
Appears in: advanced-custom-fields.6.3.5
Hook Type: action
Displaying hooks found in version: advanced-custom-fields.6.3.5do_action('acf/untrash_{$this->hook_name}') is found 2 times:
- /includes/class-acf-internal-post-type.php line 668664665666667668669670671672673674
* @since 5.0.0
*
* @param
array
$post
The ACF post
array
.
*/
do_action(
"acf/untrash_{$this->hook_name}"
,
$post
);
return
true;
}
/**
* Returns the previous post_status instead of
"draft"
for
the ACF internal post types.
- /includes/post-types/class-acf-field-group.php line 313309310311312313314315316317318319
* @since 5.0.0
*
* @param
array
$post
The ACF post
array
.
*/
do_action(
"acf/untrash_{$this->hook_name}"
,
$post
);
return
true;
}
/**
* Duplicates an ACF post.