acf_field_button_group::update_field
This filter is appied to the $field before it is saved to the database
Method of the class: acf_field_button_group{}
No Hooks.
Returns
$field.
Usage
$acf_field_button_group = new acf_field_button_group(); $acf_field_button_group->update_field( $field );
- $field(array) (required)
- The field array holding all the field options.
Changelog
| Since 5.6.3 | Introduced. |
acf_field_button_group::update_field() acf field button group::update field code ACF 6.8.8
function update_field( $field ) {
return acf_get_field_type( 'radio' )->update_field( $field );
}