acf/updated_field
Fires after a field has been updated, and the field cache has been cleaned.
Использование
add_action( 'acf/updated_field', 'wp_kama_acf_updated_field_action' ); /** * Function for `acf/updated_field` action-hook. * * @param array $field The field array. * * @return void */ function wp_kama_acf_updated_field_action( $field ){ // action... }
- $field(массив)
- The field array.
Список изменений
С версии 5.7.10 | Введена. |
Где вызывается хук
acf/updated_field
acf/includes/acf-field-functions.php 1057
do_action( 'acf/updated_field', $field );