acf_form_front::add_form() public ACF 5.5.8
description
{} Это метод класса: acf_form_front{}
Хуков нет.
Возвращает
$post_id. (int)
Использование
$acf_form_front = new acf_form_front(); $acf_form_front->add_form( $args );
- $args **
- -
По умолчанию: array()
Список изменений
С версии 5.5.8 | Введена. |
Код acf_form_front::add_form() acf form front::add form ACF 5.9.1
function add_form( $args = array() ) {
// validate
$args = $this->validate_form( $args );
// append
$this->forms[ $args['id'] ] = $args;
}