acf/duplicate_field_group
Fires immediately after a field_group has been duplicated.
Использование
add_action( 'acf/duplicate_field_group', 'wp_kama_acf_duplicate_field_group_action' ); /** * Function for `acf/duplicate_field_group` action-hook. * * @param array $field_group The field_group array. * * @return void */ function wp_kama_acf_duplicate_field_group_action( $field_group ){ // action... }
- $field_group(массив)
- The field_group array.
Список изменений
С версии 5.0.0 | Введена. |
Где вызывается хук
acf/duplicate_field_group
acf/includes/acf-field-group-functions.php 869
do_action( 'acf/duplicate_field_group', $field_group );