create_field
Create_field().
Description
create_field( $field );
This function will creat the HTML for a field
Parameters (1)
- 0. $field
- The field.
Usage
if ( !function_exists( 'create_field' ) ) { require_once ABSPATH . PLUGINDIR . 'advanced-custom-fields/core/api.php'; } // The field. $field = null; // NOTICE! Understand what this does before running. $result = create_field($field);
Defined (1)
The function is defined in the following location(s).
- /core/api.php
- function create_field( $field )
- {
- do_action('acf/create_field', $field );
- }