acf_form_front::add_form
add_form
description
Method of the class: acf_form_front{}
No Hooks.
Returns
$post_id. (int)
Usage
$acf_form_front = new acf_form_front(); $acf_form_front->add_form( $args );
- $args
- .
Default:array()
Changelog
| Since 5.5.8 | Introduced. |
acf_form_front::add_form() acf form front::add form code ACF 6.0.4
function add_form( $args = array() ) {
// validate
$args = $this->validate_form( $args );
// append
$this->forms[ $args['id'] ] = $args;
}