acf_field_button_group::load_value
This filter is appied to the $value after it is loaded from the db
Method of the class: acf_field_button_group{}
No Hooks.
Returns
$value.
Usage
$acf_field_button_group = new acf_field_button_group(); $acf_field_button_group->load_value( $value, $post_id, $field );
- $value(mixed) (required)
- The value found in the database.
- $post_id(mixed) (required)
- The post ID from which the value was loaded from.
- $field(array) (required)
- The field array holding all the field options.
Changelog
| Since 5.6.3 | Introduced. |
acf_field_button_group::load_value() acf field button group::load value code ACF 6.0.4
function load_value( $value, $post_id, $field ) {
return acf_get_field_type( 'radio' )->load_value( $value, $post_id, $field );
}