ACF_Internal_Post_Type::ajax_validate_valuespublicACF 6.1

Validates post type values before allowing save from the global $_POST object. Errors are added to the form using acf_add_internal_post_type_validation_error().

Метод класса: ACF_Internal_Post_Type{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ACF_Internal_Post_Type = new ACF_Internal_Post_Type();
$ACF_Internal_Post_Type->ajax_validate_values();

Список изменений

С версии 6.1 Введена.

Код ACF_Internal_Post_Type::ajax_validate_values() ACF 6.4.2

public function ajax_validate_values() {}