ACF_Location_Current_User::get_values
Returns an array of possible values for this rule type.
Метод класса: ACF_Location_Current_User{}
Хуков нет.
Возвращает
Массив.
Использование
$ACF_Location_Current_User = new ACF_Location_Current_User(); $ACF_Location_Current_User->get_values( $rule );
- $rule(массив) (обязательный)
- A location rule.
Список изменений
| С версии 5.9.0 | Введена. |
Код ACF_Location_Current_User::get_values() ACF Location Current User::get values ACF 6.4.2
public function get_values( $rule ) {
return array(
'logged_in' => __( 'Logged in', 'acf' ),
'viewing_front' => __( 'Viewing front end', 'acf' ),
'viewing_back' => __( 'Viewing back end', 'acf' ),
);
}