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