ACF_Location_Comment::get_values()
Returns an array of possible values for this rule type.
Метод класса: ACF_Location_Comment{}
Хуков нет.
Возвращает
Массив
.
Использование
$ACF_Location_Comment = new ACF_Location_Comment(); $ACF_Location_Comment->get_values( $rule );
- $rule(массив) (обязательный)
- A location rule.
Список изменений
С версии 5.9.0 | Введена. |
Код ACF_Location_Comment::get_values() ACF Location Comment::get values ACF 6.0.4
public function get_values( $rule ) { return array_merge( array( 'all' => __( 'All', 'acf' ), ), acf_get_pretty_post_types() // Todo: Change to post types that support comments. ); }