ACF_Location_User_Form::get_values
Returns an array of possible values for this rule type.
Method of the class: ACF_Location_User_Form{}
No Hooks.
Returns
Array.
Usage
$ACF_Location_User_Form = new ACF_Location_User_Form(); $ACF_Location_User_Form->get_values( $rule );
- $rule(array) (required)
- A location rule.
Changelog
| Since 5.9.0 | Introduced. |
ACF_Location_User_Form::get_values() ACF Location User Form::get values code ACF 6.8.8
public function get_values( $rule ) {
return array(
'all' => __( 'All', 'acf' ),
'add' => __( 'Add', 'acf' ),
'edit' => __( 'Add / Edit', 'acf' ),
'register' => __( 'Register', 'acf' ),
);
}