acf_untrash_field_group()
acf_untrash_field_group
Restores a field_group from the trash.
No Hooks.
Returns
boolean. True if field_group was trashed.
Usage
acf_untrash_field_group( $id );
- $id((int|string))
- The field_group ID, key or name.
Changelog
| Since 5.0.0 | Introduced. |
acf_untrash_field_group() acf untrash field group code ACF 6.8.8
function acf_untrash_field_group( $id = 0 ) {
return acf_untrash_internal_post_type( $id, 'acf-field-group' );
}