value arguments. * * @date 23/1/19 * @since 5.7.10 * * @param void * @return int */ function query($args, $operator = 'AND') { } /** * alias * * Sets an alias for the given name allowing data to be found via multiple identifiers. * * @date 18/1/19 * @since 5.7.10 * * @param type $var Description. Default. * @return type Description. */ function alias($name = '') { } /** * switch_site * * Triggered when switching between sites on a multisite installation. * * @date 13/2/19 * @since 5.7.11 * * @param int $site_id New blog ID. * @param int prev_blog_id Prev blog ID. * @return void */ function switch_site($site_id, $prev_site_id) { } } class ACF_Admin_Notice extends \ACF_Data { /** @var array Storage for data. */ var $data = array( /** @type string Text displayed in notice. */ 'text' => '', /** @type string Optional HTML alternative to text. 'html' => '', */ /** @type string The type of notice (warning, error, success, info). */ 'type' => 'info', /** @type bool If the notice can be dismissed. */ 'dismissible' => \true, ); /** * render * * Renders the notice HTML. * * @date 27/12/18 * @since 5.8.0 * * @param void * @return void */ function render() { } } class acf_admin_tools { /** @var array Contains an array of admin tool instances */ var $tools = array(); /** @var string The active tool */ var $active = ''; /** * __construct * * This function will setup the class functionality * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function __construct() { } /** * register_tool * * This function will store a tool tool class * * @date 10/10/17 * @since 5.6.3 * * @param string $class * @return n/a */ function register_tool($class) { } /** * get_tool * * This function will return a tool tool class * * @date 10/10/17 * @since 5.6.3 * * @param string $name * @return n/a */ function get_tool($name) { } /** * get_tools * * This function will return an array of all tools * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return array */ function get_tools() { } /* * admin_menu * * This function will add the ACF menu item to the WP admin * * @type action (admin_menu) * @date 28/09/13 * @since 5.0.0 * * @param n/a * @return n/a */ function admin_menu() { } /** * load * * description * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function load() { } /** * include_tools * * description * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function include_tools() { } /** * check_submit * * description * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function check_submit() { } /** * html * * description * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html() { } /** * meta_box_html * * description * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function metabox_html($post, $metabox) { } } class ACF_Admin_Upgrade { /** * __construct * * Sets up the class functionality. * * @date 31/7/18 * @since 5.7.2 * * @param void * @return void */ function __construct() { } /** * admin_menu * * Setus up logic if DB Upgrade is needed on a single site. * * @date 24/8/18 * @since 5.7.4 * * @param void * @return void */ function admin_menu() { } /** * network_admin_menu * * Sets up admin logic if DB Upgrade is required on a multi site. * * @date 24/8/18 * @since 5.7.4 * * @param void * @return void */ function network_admin_menu() { } /** * admin_load * * Runs during the loading of the admin page. * * @date 24/8/18 * @since 5.7.4 * * @param type $var Description. Default. * @return type Description. */ function admin_load() { } /** * network_admin_load * * Runs during the loading of the network admin page. * * @date 24/8/18 * @since 5.7.4 * * @param type $var Description. Default. * @return type Description. */ function network_admin_load() { } /** * admin_notices * * Displays the DB Upgrade prompt. * * @date 23/8/18 * @since 5.7.3 * * @param void * @return void */ function admin_notices() { } /** * network_admin_notices * * Displays the DB Upgrade prompt on a multi site. * * @date 23/8/18 * @since 5.7.3 * * @param void * @return void */ function network_admin_notices() { } /** * admin_html * * Displays the HTML for the admin page. * * @date 24/8/18 * @since 5.7.4 * * @param void * @return void */ function admin_html() { } /** * network_admin_html * * Displays the HTML for the network upgrade admin page. * * @date 24/8/18 * @since 5.7.4 * * @param void * @return void */ function network_admin_html() { } } class ACF_Admin { /** * __construct * * Sets up the class functionality. * * @date 23/06/12 * @since 5.0.0 * * @param void * @return void */ function __construct() { } /** * admin_menu * * Adds the ACF menu item. * * @date 28/09/13 * @since 5.0.0 * * @param void * @return void */ function admin_menu() { } /** * admin_enqueue_scripts * * Enqueues global admin styling. * * @date 28/09/13 * @since 5.0.0 * * @param void * @return void */ function admin_enqueue_scripts() { } /** * admin_body_class * * Appends the determined body_class. * * @date 5/11/19 * @since 5.8.7 * * @param string $classes Space-separated list of CSS classes. * @return string */ function admin_body_class($classes) { } /** * info_page_html * * Renders the Info page HTML. * * @date 5/11/19 * @since 5.8.7 * * @param void * @return void */ function info_page_html() { } } class ACF_Admin_Tool { /** @var string Tool name */ var $name = ''; /** @var string Tool title */ var $title = ''; /** @var string Dashicon slug */ //var $icon = ''; /** @var boolean Redirect form to single */ //var $redirect = false; /** * get_name * * This function will return the Tool's name * * @date 19/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function get_name() { } /** * get_title * * This function will return the Tool's title * * @date 19/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function get_title() { } /** * get_url * * This function will return the Tool's title * * @date 19/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function get_url() { } /** * is_active * * This function will return true if the tool is active * * @date 19/10/17 * @since 5.6.3 * * @param n/a * @return bool */ function is_active() { } /* * __construct * * This function will setup the class functionality * * @type function * @date 27/6/17 * @since 5.6.0 * * @param n/a * @return n/a */ function __construct() { } /** * initialize * * This function will initialize the admin tool * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function initialize() { } /** * load * * This function is called during the admin page load * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function load() { } /** * html * * This function will output the metabox HTML * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html() { } /** * submit * * This function will run when the tool's form has been submit * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function submit() { } } class ACF_Admin_Tool_Export extends \ACF_Admin_Tool { /** @var string View context */ var $view = ''; /** @var array Export data */ var $json = ''; /** * initialize * * This function will initialize the admin tool * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function initialize() { } /** * submit * * This function will run when the tool's form has been submit * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function submit() { } /** * submit_download * * description * * @date 17/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function submit_download() { } /** * submit_generate * * description * * @date 17/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function submit_generate() { } /** * load * * description * * @date 21/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function load() { } /** * html * * This function will output the metabox HTML * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html() { } /** * html_field_selection * * description * * @date 24/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html_field_selection() { } /** * html_panel_selection * * description * * @date 21/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html_panel_selection() { } /** * html_panel_settings * * description * * @date 21/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html_panel_settings() { } /** * html_archive * * description * * @date 20/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html_archive() { } /** * html_single * * description * * @date 20/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html_single() { } /** * html_generate * * description * * @date 17/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html_generate() { } /** * get_selected_keys * * This function will return an array of field group keys that have been selected * * @date 20/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function get_selected_keys() { } /** * get_selected * * This function will return the JSON data for given $_POST args * * @date 17/10/17 * @since 5.6.3 * * @param n/a * @return array */ function get_selected() { } } class ACF_Admin_Tool_Import extends \ACF_Admin_Tool { /** * initialize * * This function will initialize the admin tool * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function initialize() { } /** * html * * This function will output the metabox HTML * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function html() { } /** * submit * * This function will run when the tool's form has been submit * * @date 10/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function submit() { } } class ACF_Ajax { /** @var string The AJAX action name. */ var $action = ''; /** @var array The $_REQUEST data. */ var $request; /** @var bool Prevents access for non-logged in users. */ var $public = \false; /** * __construct * * Sets up the class functionality. * * @date 31/7/18 * @since 5.7.2 * * @param void * @return void */ function __construct() { } /** * has * * Returns true if the request has data for the given key. * * @date 31/7/18 * @since 5.7.2 * * @param string $key The data key. * @return boolean */ function has($key = '') { } /** * get * * Returns request data for the given key. * * @date 31/7/18 * @since 5.7.2 * * @param string $key The data key. * @return mixed */ function get($key = '') { } /** * set * * Sets request data for the given key. * * @date 31/7/18 * @since 5.7.2 * * @param string $key The data key. * @param mixed $value The data value. * @return ACF_Ajax */ function set($key = '', $value) { } /** * initialize * * Allows easy access to modifying properties without changing constructor. * * @date 31/7/18 * @since 5.7.2 * * @param void * @return void */ function initialize() { } /** * add_actions * * Adds the ajax actions for this response. * * @date 31/7/18 * @since 5.7.2 * * @param void * @return void */ function add_actions() { } /** * request * * Callback for ajax action. Sets up properties and calls the get_response() function. * * @date 1/8/18 * @since 5.7.2 * * @param void * @return void */ function request() { } /** * get_response * * Returns the response data to sent back. * * @date 31/7/18 * @since 5.7.2 * * @param array $request The request args. * @return mixed The response data or WP_Error. */ function get_response($request) { } /** * send * * Sends back JSON based on the $response as either success or failure. * * @date 31/7/18 * @since 5.7.2 * * @param mixed $response The response to send back. * @return void */ function send($response) { } } class ACF_Ajax_Check_Screen extends \ACF_Ajax { /** @var string The AJAX action name. */ var $action = 'acf/ajax/check_screen'; /** @var bool Prevents access for non-logged in users. */ var $public = \false; /** * get_response * * Returns the response data to sent back. * * @date 31/7/18 * @since 5.7.2 * * @param array $request The request args. * @return mixed The response data or WP_Error. */ function get_response($request) { } } class ACF_Ajax_Upgrade extends \ACF_Ajax { /** @var string The AJAX action name */ var $action = 'acf/ajax/upgrade'; /** * get_response * * Returns the response data to sent back. * * @date 31/7/18 * @since 5.7.2 * * @param array $request The request args. * @return mixed The response data or WP_Error. */ function get_response($request) { } } class ACF_Ajax_User_Setting extends \ACF_Ajax { /** @var string The AJAX action name. */ var $action = 'acf/ajax/user_setting'; /** @var bool Prevents access for non-logged in users. */ var $public = \true; /** * get_response * * Returns the response data to sent back. * * @date 31/7/18 * @since 5.7.2 * * @param array $request The request args. * @return mixed The response data or WP_Error. */ function get_response($request) { } } class ACF_Compatibility { /** * __construct * * Sets up the class functionality. * * @date 30/04/2014 * @since 5.0.0 * * @param void * @return void */ function __construct() { } /** * init * * Adds compatibility for deprecated settings. * * @date 10/6/19 * @since 5.8.1 * * @param void * @return void */ function init() { } /** * field_wrapper_attributes * * Adds compatibility with deprecated field wrap attributes. * * @date 21/1/19 * @since 5.7.10 * * @param array $wrapper The wrapper attributes array. * @param array $field The field array. */ function field_wrapper_attributes($wrapper, $field) { } /** * validate_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.0.0 * * @param array $field The field array. * @return array $field */ function validate_field($field) { } /** * validate_textarea_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.0.0 * * @param array $field The field array. * @return array $field */ function validate_textarea_field($field) { } /** * validate_relationship_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.0.0 * * @param array $field The field array. * @return array $field */ function validate_relationship_field($field) { } /** * validate_image_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.0.0 * * @param array $field The field array. * @return array $field */ function validate_image_field($field) { } /** * validate_wysiwyg_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.0.0 * * @param array $field The field array. * @return array $field */ function validate_wysiwyg_field($field) { } /** * validate_date_picker_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.0.0 * * @param array $field The field array. * @return array $field */ function validate_date_picker_field($field) { } /** * validate_taxonomy_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.2.7 * * @param array $field The field array. * @return array $field */ function validate_taxonomy_field($field) { } /** * validate_date_time_picker_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.2.7 * * @param array $field The field array. * @return array $field */ function validate_date_time_picker_field($field) { } /** * validate_user_field * * Adds compatibility with deprecated settings * * @date 23/04/2014 * @since 5.2.7 * * @param array $field The field array. * @return array $field */ function validate_user_field($field) { } /* * validate_field_group * * This function will provide compatibility with ACF4 field groups * * @type function * @date 23/04/2014 * @since 5.0.0 * * @param $field_group (array) * @return $field_group */ function validate_field_group($field_group) { } /** * validate_post_taxonomy_location_rule * * description * * @date 27/8/18 * @since 5.7.4 * * @param type $var Description. Default. * @return type Description. */ function validate_post_taxonomy_location_rule($rule) { } } class acf_fields { /** @var array Contains an array of field type instances */ var $types = array(); /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.4.0 * * @param n/a * @return n/a */ function __construct() { } /* * register_field_type * * This function will register a field type instance * * @type function * @date 6/07/2016 * @since 5.4.0 * * @param $class (string) * @return n/a */ function register_field_type($class) { } /* * get_field_type * * This function will return a field type instance * * @type function * @date 6/07/2016 * @since 5.4.0 * * @param $name (string) * @return (mixed) */ function get_field_type($name) { } /* * is_field_type * * This function will return true if a field type exists * * @type function * @date 6/07/2016 * @since 5.4.0 * * @param $name (string) * @return (mixed) */ function is_field_type($name) { } /* * register_field_type_info * * This function will store a basic array of info about the field type * to later be overriden by the above register_field_type function * * @type function * @date 29/5/17 * @since 5.6.0 * * @param $info (array) * @return n/a */ function register_field_type_info($info) { } /* * get_field_types * * This function will return an array of all field types * * @type function * @date 6/07/2016 * @since 5.4.0 * * @param $name (string) * @return (mixed) */ function get_field_types() { } } class acf_field { // vars var $name = '', $label = '', $category = 'basic', $defaults = array(), $l10n = array(), $public = \true; /* * __construct * * This function will initialize the field type * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * initialize * * This function will initialize the field type * * @type function * @date 27/6/17 * @since 5.6.0 * * @param n/a * @return n/a */ function initialize() { } /* * add_filter * * This function checks if the function is_callable before adding the filter * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param $tag (string) * @param $function_to_add (string) * @param $priority (int) * @param $accepted_args (int) * @return n/a */ function add_filter($tag = '', $function_to_add = '', $priority = 10, $accepted_args = 1) { } /* * add_field_filter * * This function will add a field type specific filter * * @type function * @date 29/09/2016 * @since 5.4.0 * * @param $tag (string) * @param $function_to_add (string) * @param $priority (int) * @param $accepted_args (int) * @return n/a */ function add_field_filter($tag = '', $function_to_add = '', $priority = 10, $accepted_args = 1) { } /* * add_action * * This function checks if the function is_callable before adding the action * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param $tag (string) * @param $function_to_add (string) * @param $priority (int) * @param $accepted_args (int) * @return n/a */ function add_action($tag = '', $function_to_add = '', $priority = 10, $accepted_args = 1) { } /* * add_field_action * * This function will add a field type specific filter * * @type function * @date 29/09/2016 * @since 5.4.0 * * @param $tag (string) * @param $function_to_add (string) * @param $priority (int) * @param $accepted_args (int) * @return n/a */ function add_field_action($tag = '', $function_to_add = '', $priority = 10, $accepted_args = 1) { } /* * validate_field * * This function will append default settings to a field * * @type filter ("acf/validate_field/type={$this->name}") * @since 3.6 * @date 23/01/13 * * @param $field (array) * @return $field (array) */ function validate_field($field) { } /* * admin_l10n * * This function will append l10n text translations to an array which is later passed to JS * * @type filter ("acf/input/admin_l10n") * @since 3.6 * @date 23/01/13 * * @param $l10n (array) * @return $l10n (array) */ function input_admin_l10n($l10n) { } } class acf_field__accordion extends \acf_field { /** * initialize * * This function will setup the field type data * * @date 30/10/17 * @since 5.6.3 * * @param n/a * @return n/a */ function initialize() { } /** * render_field * * Create the HTML interface for your field * * @date 30/10/17 * @since 5.6.3 * * @param array $field * @return n/a */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field_settings($field) { } /* * load_field() * * This filter is appied to the $field after it is loaded from the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * * @return $field - the field array holding all the field options */ function load_field($field) { } } class acf_field_button_group extends \acf_field { /** * initialize() * * This function will setup the field type data * * @date 18/9/17 * @since 5.6.3 * * @param n/a * @return n/a */ function initialize() { } /** * render_field() * * Creates the field's input HTML * * @date 18/9/17 * @since 5.6.3 * * @param array $field The field settings array * @return n/a */ function render_field($field) { } /** * render_field_settings() * * Creates the field's settings HTML * * @date 18/9/17 * @since 5.6.3 * * @param array $field The field settings array * @return n/a */ function render_field_settings($field) { } /* * update_field() * * This filter is appied to the $field before it is saved to the database * * @date 18/9/17 * @since 5.6.3 * * @param array $field The field array holding all the field options * @return $field */ function update_field($field) { } /* * load_value() * * This filter is appied to the $value after it is loaded from the db * * @date 18/9/17 * @since 5.6.3 * * @param mixed $value The value found in the database * @param mixed $post_id The post ID from which the value was loaded from * @param array $field The field array holding all the field options * @return $value */ function load_value($value, $post_id, $field) { } /* * translate_field * * This function will translate field settings * * @date 18/9/17 * @since 5.6.3 * * @param array $field The field array holding all the field options * @return $field */ function translate_field($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @date 18/9/17 * @since 5.6.3 * * @param mixed $value The value found in the database * @param mixed $post_id The post ID from which the value was loaded from * @param array $field The field array holding all the field options * @return $value */ function format_value($value, $post_id, $field) { } } class acf_field_checkbox extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field (array) the $field being rendered * * @type action * @since 3.6 * @date 23/01/13 * * @param $field (array) the $field being edited * @return n/a */ function render_field($field) { } /* * render_field_choices * * description * * @type function * @date 15/7/17 * @since 5.6.0 * * @param $post_id (int) * @return $post_id (int) */ function render_field_choices($field) { } /* * render_field_toggle * * description * * @type function * @date 15/7/17 * @since 5.6.0 * * @param $post_id (int) * @return $post_id (int) */ function render_field_toggle($field) { } /* * render_field_custom * * description * * @type function * @date 15/7/17 * @since 5.6.0 * * @param $post_id (int) * @return $post_id (int) */ function render_field_custom($field) { } function walk($choices = array(), $args = array(), $depth = 0) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * update_field() * * This filter is appied to the $field before it is saved to the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * @param $post_id - the field group ID (post_type = acf) * * @return $field - the modified field */ function update_field($field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * translate_field * * This function will translate field settings * * @type function * @date 8/03/2016 * @since 5.3.2 * * @param $field (array) * @return $field */ function translate_field($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } } class acf_field_color_picker extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * input_admin_enqueue_scripts * * description * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function input_admin_enqueue_scripts() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } } class acf_field_date_picker extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * input_admin_enqueue_scripts * * description * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function input_admin_enqueue_scripts() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } } class acf_field_date_and_time_picker extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * input_admin_enqueue_scripts * * description * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function input_admin_enqueue_scripts() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } } class acf_field_email extends \acf_field { /* * initialize * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } } class acf_field_file extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * input_admin_enqueue_scripts * * description * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function input_admin_enqueue_scripts() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * get_media_item_args * * description * * @type function * @date 27/01/13 * @since 3.6.0 * * @param $vars (array) * @return $vars */ function get_media_item_args($vars) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * validate_value * * This function will validate a basic file input * * @type function * @date 11/02/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_value($valid, $value, $field, $input) { } } class acf_field_google_map extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * input_admin_enqueue_scripts * * description * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function input_admin_enqueue_scripts() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /** * load_value * * Filters the value loaded from the database. * * @date 16/10/19 * @since 5.8.1 * * @param mixed $value The value loaded from the database. * @param mixed $post_id The post ID where the value is saved. * @param array $field The field settings array. * @return (array|false) */ function load_value($value, $post_id, $field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } } class acf_field__group extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * load_field() * * This filter is appied to the $field after it is loaded from the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * * @return $field - the field array holding all the field options */ function load_field($field) { } /* * load_value() * * This filter is applied to the $value after it is loaded from the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value found in the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * @return $value */ function load_value($value, $post_id, $field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $field - the field array holding all the field options * @param $post_id - the $post_id of which the value will be saved * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * prepare_field_for_db * * This function will modify sub fields ready for update / load * * @type function * @date 4/11/16 * @since 5.5.0 * * @param $field (array) * @return $field */ function prepare_field_for_db($field) { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_block * * description * * @type function * @date 12/07/2016 * @since 5.4.0 * * @param $post_id (int) * @return $post_id (int) */ function render_field_block($field) { } /* * render_field_table * * description * * @type function * @date 12/07/2016 * @since 5.4.0 * * @param $post_id (int) * @return $post_id (int) */ function render_field_table($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * validate_value * * description * * @type function * @date 11/02/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_value($valid, $value, $field, $input) { } /* * duplicate_field() * * This filter is appied to the $field before it is duplicated and saved to the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * * @return $field - the modified field */ function duplicate_field($field) { } /* * prepare_field_for_export * * description * * @type function * @date 11/03/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function prepare_field_for_export($field) { } /* * prepare_field_for_import * * description * * @type function * @date 11/03/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function prepare_field_for_import($field) { } /* * delete_value * * Called when deleting this field's value. * * @date 1/07/2015 * @since 5.2.3 * * @param mixed $post_id The post ID being saved * @param string $meta_key The field name as seen by the DB * @param array $field The field settings * @return void */ function delete_value($post_id, $meta_key, $field) { } /** * delete_field * * Called when deleting a field of this type. * * @date 8/11/18 * @since 5.8.0 * * @param arra $field The field settings. * @return void */ function delete_field($field) { } } class acf_field_image extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * input_admin_enqueue_scripts * * description * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function input_admin_enqueue_scripts() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * get_media_item_args * * description * * @type function * @date 27/01/13 * @since 3.6.0 * * @param $vars (array) * @return $vars */ function get_media_item_args($vars) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * validate_value * * This function will validate a basic file input * * @type function * @date 11/02/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_value($valid, $value, $field, $input) { } } class acf_field_link extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * get_link * * description * * @type function * @date 16/5/17 * @since 5.5.13 * * @param $post_id (int) * @return $post_id (int) */ function get_link($value = '') { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * validate_value * * description * * @type function * @date 11/02/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_value($valid, $value, $field, $input) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } } class acf_field_message extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field_settings($field) { } /* * translate_field * * This function will translate field settings * * @type function * @date 8/03/2016 * @since 5.3.2 * * @param $field (array) * @return $field */ function translate_field($field) { } /* * load_field() * * This filter is appied to the $field after it is loaded from the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * * @return $field - the field array holding all the field options */ function load_field($field) { } } class acf_field_number extends \acf_field { /* * initialize * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * validate_value * * description * * @type function * @date 11/02/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_value($valid, $value, $field, $input) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $field - the field array holding all the field options * @param $post_id - the $post_id of which the value will be saved * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } } class acf_field_oembed extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * prepare_field * * This function will prepare the field for input * * @type function * @date 14/2/17 * @since 5.5.8 * * @param $field (array) * @return (int) */ function prepare_field($field) { } /* * wp_oembed_get * * description * * @type function * @date 24/01/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function wp_oembed_get($url = '', $width = 0, $height = 0) { } /* * ajax_query * * description * * @type function * @date 24/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function ajax_query() { } /* * get_ajax_query * * This function will return an array of data formatted for use in a select2 AJAX response * * @type function * @date 15/10/2014 * @since 5.0.9 * * @param $options (array) * @return (array) */ function get_ajax_query($args = array()) { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } } class acf_field_output extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field (array) the $field being rendered * * @type action * @since 3.6 * @date 23/01/13 * * @param $field (array) the $field being edited * @return n/a */ function render_field($field) { } } class acf_field_page_link extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * ajax_query * * description * * @type function * @date 24/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function ajax_query() { } /* * get_post_result * * This function will return an array containing id, text and maybe description data * * @type function * @date 7/07/2016 * @since 5.4.0 * * @param $id (mixed) * @param $text (string) * @return (array) */ function get_post_result($id, $text) { } /* * get_post_title * * This function returns the HTML for a result * * @type function * @date 1/11/2013 * @since 5.0.0 * * @param $post (object) * @param $field (array) * @param $post_id (int) the post_id to which this value is saved to * @return (string) */ function get_post_title($post, $field, $post_id = 0, $is_search = 0) { } /* * get_posts * * This function will return an array of posts for a given field value * * @type function * @date 13/06/2014 * @since 5.0.0 * * @param $value (array) * @return $value */ function get_posts($value, $field) { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } } class acf_field_password extends \acf_field { /* * initialize * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } } class acf_field_post_object extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * ajax_query * * description * * @type function * @date 24/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function ajax_query() { } /* * get_ajax_query * * This function will return an array of data formatted for use in a select2 AJAX response * * @type function * @date 15/10/2014 * @since 5.0.9 * * @param $options (array) * @return (array) */ function get_ajax_query($options = array()) { } /* * get_post_result * * This function will return an array containing id, text and maybe description data * * @type function * @date 7/07/2016 * @since 5.4.0 * * @param $id (mixed) * @param $text (string) * @return (array) */ function get_post_result($id, $text) { } /* * get_post_title * * This function returns the HTML for a result * * @type function * @date 1/11/2013 * @since 5.0.0 * * @param $post (object) * @param $field (array) * @param $post_id (int) the post_id to which this value is saved to * @return (string) */ function get_post_title($post, $field, $post_id = 0, $is_search = 0) { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * load_value() * * This filter is applied to the $value after it is loaded from the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value found in the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * @return $value */ function load_value($value, $post_id, $field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * get_posts * * This function will return an array of posts for a given field value * * @type function * @date 13/06/2014 * @since 5.0.0 * * @param $value (array) * @return $value */ function get_posts($value, $field) { } } class acf_field_radio extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field (array) the $field being rendered * * @type action * @since 3.6 * @date 23/01/13 * * @param $field (array) the $field being edited * @return n/a */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * update_field() * * This filter is appied to the $field before it is saved to the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * @param $post_id - the field group ID (post_type = acf) * * @return $field - the modified field */ function update_field($field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * @todo Fix bug where $field was found via json and has no ID * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * load_value() * * This filter is appied to the $value after it is loaded from the db * * @type filter * @since 5.2.9 * @date 23/01/13 * * @param $value - the value found in the database * @param $post_id - the $post_id from which the value was loaded from * @param $field - the field array holding all the field options * * @return $value - the value to be saved in te database */ function load_value($value, $post_id, $field) { } /* * translate_field * * This function will translate field settings * * @type function * @date 8/03/2016 * @since 5.3.2 * * @param $field (array) * @return $field */ function translate_field($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } } class acf_field_range extends \acf_field_number { /* * initialize * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } } class acf_field_relationship extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * input_admin_enqueue_scripts * * description * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function input_admin_enqueue_scripts() { } /* * ajax_query * * description * * @type function * @date 24/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function ajax_query() { } /* * get_ajax_query * * This function will return an array of data formatted for use in a select2 AJAX response * * @type function * @date 15/10/2014 * @since 5.0.9 * * @param $options (array) * @return (array) */ function get_ajax_query($options = array()) { } /* * get_post_result * * This function will return an array containing id, text and maybe description data * * @type function * @date 7/07/2016 * @since 5.4.0 * * @param $id (mixed) * @param $text (string) * @return (array) */ function get_post_result($id, $text) { } /* * get_post_title * * This function returns the HTML for a result * * @type function * @date 1/11/2013 * @since 5.0.0 * * @param $post (object) * @param $field (array) * @param $post_id (int) the post_id to which this value is saved to * @return (string) */ function get_post_title($post, $field, $post_id = 0, $is_search = 0) { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * validate_value * * description * * @type function * @date 11/02/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_value($valid, $value, $field, $input) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } } class acf_field_select extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * input_admin_enqueue_scripts * * description * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function input_admin_enqueue_scripts() { } /* * ajax_query * * description * * @type function * @date 24/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function ajax_query() { } /* * get_ajax_query * * This function will return an array of data formatted for use in a select2 AJAX response * * @type function * @date 15/10/2014 * @since 5.0.9 * * @param $options (array) * @return (array) */ function get_ajax_query($options = array()) { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * load_value() * * This filter is applied to the $value after it is loaded from the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value found in the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * @return $value */ function load_value($value, $post_id, $field) { } /* * update_field() * * This filter is appied to the $field before it is saved to the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * @param $post_id - the field group ID (post_type = acf) * * @return $field - the modified field */ function update_field($field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * translate_field * * This function will translate field settings * * @type function * @date 8/03/2016 * @since 5.3.2 * * @param $field (array) * @return $field */ function translate_field($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } function format_value_single($value, $post_id, $field) { } } class acf_field_separator extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * load_field() * * This filter is appied to the $field after it is loaded from the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * * @return $field - the field array holding all the field options */ function load_field($field) { } } class acf_field_tab extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field_settings($field) { } /* * load_field() * * This filter is appied to the $field after it is loaded from the database * * @type filter * @since 3.6 * @date 23/01/13 * * @param $field - the field array holding all the field options * * @return $field - the field array holding all the field options */ function load_field($field) { } } class acf_field_taxonomy extends \acf_field { // vars var $save_post_terms = array(); /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * ajax_query * * description * * @type function * @date 24/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function ajax_query() { } /* * get_ajax_query * * This function will return an array of data formatted for use in a select2 AJAX response * * @type function * @date 15/10/2014 * @since 5.0.9 * * @param $options (array) * @return (array) */ function get_ajax_query($options = array()) { } /* * get_term_title * * This function returns the HTML for a result * * @type function * @date 1/11/2013 * @since 5.0.0 * * @param $post (object) * @param $field (array) * @param $post_id (int) the post_id to which this value is saved to * @return (string) */ function get_term_title($term, $field, $post_id = 0) { } /* * get_terms * * This function will return an array of terms for a given field value * * @type function * @date 13/06/2014 * @since 5.0.0 * * @param $value (array) * @return $value */ function get_terms($value, $taxonomy = 'category') { } /* * load_value() * * This filter is appied to the $value after it is loaded from the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value found in the database * @param $post_id - the $post_id from which the value was loaded from * @param $field - the field array holding all the field options * * @return $value - the value to be saved in te database */ function load_value($value, $post_id, $field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $field - the field array holding all the field options * @param $post_id - the $post_id of which the value will be saved * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * save_post * * This function will save any terms in the save_post_terms array * * @type function * @date 26/11/2014 * @since 5.0.9 * * @param $post_id (int) * @return n/a */ function save_post($post_id) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * render_field() * * Create the HTML interface for your field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field($field) { } /* * render_field_select() * * Create the HTML interface for your field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_select($field) { } /* * render_field_checkbox() * * Create the HTML interface for your field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_checkbox($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * ajax_add_term * * description * * @type function * @date 17/04/2015 * @since 5.2.3 * * @param $post_id (int) * @return $post_id (int) */ function ajax_add_term() { } } class acf_field_text extends \acf_field { /* * initialize * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field_settings($field) { } /** * validate_value * * Validates a field's value. * * @date 29/1/19 * @since 5.7.11 * * @param (bool|string) Whether the value is vaid or not. * @param mixed $value The field value. * @param array $field The field array. * @param string $input The HTML input name. * @return (bool|string) */ function validate_value($valid, $value, $field, $input) { } } class acf_field_textarea extends \acf_field { /* * initialize * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field_settings($field) { } /* * format_value() * * This filter is applied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /** * validate_value * * Validates a field's value. * * @date 29/1/19 * @since 5.7.11 * * @param (bool|string) Whether the value is vaid or not. * @param mixed $value The field value. * @param array $field The field array. * @param string $input The HTML input name. * @return (bool|string) */ function validate_value($valid, $value, $field, $input) { } } class acf_field_time_picker extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } } class acf_field_true_false extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } /* * validate_value * * description * * @type function * @date 11/02/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_value($valid, $value, $field, $input) { } /* * translate_field * * This function will translate field settings * * @type function * @date 8/03/2016 * @since 5.3.2 * * @param $field (array) * @return $field */ function translate_field($field) { } } class acf_field_url extends \acf_field { /* * initialize * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * validate_value * * description * * @type function * @date 11/02/2014 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_value($valid, $value, $field, $input) { } } class acf_field_user extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * ajax_query * * description * * @type function * @date 24/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function ajax_query() { } /* * get_ajax_query * * This function will return an array of data formatted for use in a select2 AJAX response * * @type function * @date 15/10/2014 * @since 5.0.9 * * @param $options (array) * @return (array) */ function get_ajax_query($options = array()) { } /* * get_result * * This function returns the HTML for a result * * @type function * @date 1/11/2013 * @since 5.0.0 * * @param $post (object) * @param $field (array) * @param $post_id (int) the post_id to which this value is saved to * @return (string) */ function get_result($user, $field, $post_id = 0) { } /* * user_search_columns * * This function will modify the columns which the user AJAX search looks in * * @type function * @date 17/06/2014 * @since 5.0.0 * * @param $columns (array) * @return $columns */ function user_search_columns($columns, $search, $WP_User_Query) { } /* * render_field() * * Create the HTML interface for your field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * update_value() * * This filter is appied to the $value before it is updated in the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value - the value which will be saved in the database * @param $post_id - the $post_id of which the value will be saved * @param $field - the field array holding all the field options * * @return $value - the modified value */ function update_value($value, $post_id, $field) { } /* * load_value() * * This filter is applied to the $value after it is loaded from the db * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value found in the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * @return $value */ function load_value($value, $post_id, $field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } } class acf_field_wysiwyg extends \acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * add_filters * * This function will add filters to 'acf_the_content' * * @type function * @date 20/09/2016 * @since 5.4.0 * * @param n/a * @return n/a */ function add_filters() { } /* * get_toolbars * * This function will return an array of toolbars for the WYSIWYG field * * @type function * @date 18/04/2014 * @since 5.0.0 * * @param n/a * @return (array) */ function get_toolbars() { } /* * acf_enqueue_uploader * * Registers toolbars data for the WYSIWYG field. * * @type function * @date 16/12/2015 * @since 5.3.2 * * @param void * @return void */ function acf_enqueue_uploader() { } /* * render_field() * * Create the HTML interface for your field * * @param $field - an array holding all the field's data * * @type action * @since 3.6 * @date 23/01/13 */ function render_field($field) { } /* * render_field_settings() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like bellow) to save extra data to the $field * * @type action * @since 3.6 * @date 23/01/13 * * @param $field - an array holding all the field's data */ function render_field_settings($field) { } /* * format_value() * * This filter is appied to the $value after it is loaded from the db and before it is returned to the template * * @type filter * @since 3.6 * @date 23/01/13 * * @param $value (mixed) the value which was loaded from the database * @param $post_id (mixed) the $post_id from which the value was loaded * @param $field (array) the field array holding all the field options * * @return $value (mixed) the modified value */ function format_value($value, $post_id, $field) { } } class acf_form_attachment { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * admin_enqueue_scripts * * This action is run after post query but before any admin script / head actions. * It is a good place to register all actions. * * @type action (admin_enqueue_scripts) * @date 26/01/13 * @since 3.6.0 * * @param N/A * @return N/A */ function admin_enqueue_scripts() { } /* * admin_footer * * This function will add acf_form_data to the WP 4.0 attachment grid * * @type action (admin_footer) * @date 11/09/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function admin_footer() { } /* * edit_attachment * * description * * @type function * @date 8/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function edit_attachment($form_fields, $post) { } /* * save_attachment * * description * * @type function * @date 8/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function save_attachment($post, $attachment) { } } class acf_form_comment { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * validate_page * * This function will check if the current page is for a post/page edit form * * @type function * @date 23/06/12 * @since 3.1.8 * * @param n/a * @return (boolean) */ function validate_page() { } /* * admin_enqueue_scripts * * This action is run after post query but before any admin script / head actions. * It is a good place to register all actions. * * @type action (admin_enqueue_scripts) * @date 26/01/13 * @since 3.6.0 * * @param n/a * @return n/a */ function admin_enqueue_scripts() { } /* * edit_comment * * This function is run on the admin comment.php page and will render the ACF fields within custom metaboxes to look native * * @type function * @date 19/10/13 * @since 5.0.0 * * @param $comment (object) * @return n/a */ function edit_comment($comment) { } /* * comment_form_field_comment * * description * * @type function * @date 18/04/2016 * @since 5.3.8 * * @param $post_id (int) * @return $post_id (int) */ function comment_form_field_comment($html) { } /* * save_comment * * This function will save the comment data * * @type function * @date 19/10/13 * @since 5.0.0 * * @param comment_id (int) * @return n/a */ function save_comment($comment_id) { } /* * admin_footer * * description * * @type function * @date 27/03/2015 * @since 5.1.5 * * @param $post_id (int) * @return $post_id (int) */ function admin_footer() { } } class acf_form_customizer { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * admin_enqueue_scripts * * This action is run after post query but before any admin script / head actions. * It is a good place to register all actions. * * @type action (admin_enqueue_scripts) * @date 26/01/13 * @since 3.6.0 * * @param N/A * @return N/A */ function customize_controls_init() { } /* * save_widget * * This function will hook into the widget update filter and save ACF data * * @type function * @date 27/05/2015 * @since 5.2.3 * * @param $instance (array) widget settings * @param $new_instance (array) widget settings * @param $old_instance (array) widget settings * @param $widget (object) widget info * @return $instance */ function save_widget($instance, $new_instance, $old_instance, $widget) { } /* * settings * * This function will return an array of cutomizer settings that include ACF data * similar to `$customizer->settings();` * * @type function * @date 22/03/2016 * @since 5.3.2 * * @param $customizer (object) * @return $value (mixed) */ function settings($customizer) { } /* * customize_preview_init * * This function is called when customizer preview is initialized * * @type function * @date 22/03/2016 * @since 5.3.2 * * @param $customizer (object) * @return n/a */ function customize_preview_init($customizer) { } /** * pre_load_value * * Used to inject preview value * * @date 2/2/18 * @since 5.6.5 * * @param type $var Description. Default. * @return type Description. */ function pre_load_value($value, $post_id, $field) { } /** * pre_load_reference * * Used to inject preview value * * @date 2/2/18 * @since 5.6.5 * * @param type $var Description. Default. * @return type Description. */ function pre_load_reference($field_key, $field_name, $post_id) { } /* * customize_save * * This function is called when customizer saves a widget. * Normally, the widget_update_callback filter would be used, but the customizer disables this and runs a custom action * class-customizer-settings.php will save the widget data via the function set_root_value which uses update_option * * @type function * @date 22/03/2016 * @since 5.3.2 * * @param $customizer (object) * @return n/a */ function customize_save($customizer) { } /* * pre_update_option * * this function will remove the [acf] data from widget insance * * @type function * @date 22/03/2016 * @since 5.3.2 * * @param $post_id (int) * @return $post_id (int) */ function pre_update_option($value, $option, $old_value) { } /* * admin_footer * * This function will add some custom HTML to the footer of the edit page * * @type function * @date 11/06/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function admin_footer() { } } class acf_form_front { /** @var array An array of registered form settings */ private $forms = array(); /** @var array An array of default fields */ public $fields = array(); /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * validate_form * * description * * @type function * @date 28/2/17 * @since 5.5.8 * * @param $post_id (int) * @return $post_id (int) */ function validate_form($args) { } /* * add_form * * description * * @type function * @date 28/2/17 * @since 5.5.8 * * @param $post_id (int) * @return $post_id (int) */ function add_form($args = array()) { } /* * get_form * * description * * @type function * @date 28/2/17 * @since 5.5.8 * * @param $post_id (int) * @return $post_id (int) */ function get_form($id = '') { } /* * validate_save_post * * This function will validate fields from the above array * * @type function * @date 7/09/2016 * @since 5.4.0 * * @param $post_id (int) * @return $post_id (int) */ function validate_save_post() { } /* * pre_save_post * * description * * @type function * @date 7/09/2016 * @since 5.4.0 * * @param $post_id (int) * @return $post_id (int) */ function pre_save_post($post_id, $form) { } /* * enqueue * * This function will enqueue a form * * @type function * @date 7/09/2016 * @since 5.4.0 * * @param $post_id (int) * @return $post_id (int) */ function enqueue_form() { } /* * check_submit_form * * This function will maybe submit form data * * @type function * @date 3/3/17 * @since 5.5.10 * * @param n/a * @return n/a */ function check_submit_form() { } /* * submit_form * * This function will submit form data * * @type function * @date 3/3/17 * @since 5.5.10 * * @param n/a * @return n/a */ function submit_form($form) { } /* * render * * description * * @type function * @date 7/09/2016 * @since 5.4.0 * * @param $post_id (int) * @return $post_id (int) */ function render_form($args = array()) { } } class ACF_Form_Gutenberg { /** * __construct * * Setup for class functionality. * * @date 13/12/18 * @since 5.8.0 * * @param void * @return void */ function __construct() { } /** * enqueue_block_editor_assets * * Allows a safe way to customize Guten-only functionality. * * @date 14/12/18 * @since 5.8.0 * * @param void * @return void */ function enqueue_block_editor_assets() { } /** * add_meta_boxes * * Modify screen for Gutenberg. * * @date 13/12/18 * @since 5.8.0 * * @param void * @return void */ function add_meta_boxes() { } /** * block_editor_meta_box_hidden_fields * * Modify screen for Gutenberg. * * @date 13/12/18 * @since 5.8.0 * * @param void * @return void */ function block_editor_meta_box_hidden_fields() { } /** * filter_block_editor_meta_boxes * * description * * @date 5/4/19 * @since 5.7.14 * * @param type $var Description. Default. * @return type Description. */ function filter_block_editor_meta_boxes($wp_meta_boxes) { } /** * modify_user_option_meta_box_order * * Filters the `meta-box-order_{$post_type}` value by prepending "acf_after_title" data to "normal". * Fixes a bug where metaboxes with position "acf_after_title" do not appear in the block editor. * * @date 11/7/19 * @since 5.8.2 * * @param array $stored_meta_box_order User's existing meta box order. * @return array Modified array with meta boxes moved around. */ function modify_user_option_meta_box_order($locations) { } /** * acf_validate_save_post * * Ignore errors during the Gutenberg "save metaboxes" AJAX request. * Allows data to save and prevent UX issues. * * @date 16/12/18 * @since 5.8.0 * * @param void * @return void */ function acf_validate_save_post() { } } class acf_form_nav_menu { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * admin_enqueue_scripts * * This action is run after post query but before any admin script / head actions. * It is a good place to register all actions. * * @type action (admin_enqueue_scripts) * @date 26/01/13 * @since 3.6.0 * * @param N/A * @return N/A */ function admin_enqueue_scripts() { } /** * wp_nav_menu_item_custom_fields * * description * * @date 30/7/18 * @since 5.6.9 * * @param type $var Description. Default. * @return type Description. */ function wp_nav_menu_item_custom_fields($item_id, $item, $depth, $args, $id = '') { } /* * update_nav_menu * * description * * @type function * @date 26/5/17 * @since 5.6.0 * * @param $post_id (int) * @return $post_id (int) */ function update_nav_menu($menu_id) { } /* * update_nav_menu_items * * description * * @type function * @date 26/5/17 * @since 5.6.0 * * @param $post_id (int) * @return $post_id (int) */ function update_nav_menu_items($menu_id) { } /** * wp_get_nav_menu_items * * WordPress does not provide an easy way to find the current menu being edited. * This function listens to when a menu's items are loaded and stores the menu. * Needed on nav-menus.php page for new menu with no items * * @date 23/2/18 * @since 5.6.9 * * @param type $var Description. Default. * @return type Description. */ function wp_get_nav_menu_items($items, $menu, $args) { } /* * wp_edit_nav_menu_walker * * description * * @type function * @date 26/5/17 * @since 5.6.0 * * @param $post_id (int) * @return $post_id (int) */ function wp_edit_nav_menu_walker($class, $menu_id = 0) { } /* * acf_validate_save_post * * This function will loop over $_POST data and validate * * @type action 'acf/validate_save_post' 5 * @date 7/09/2016 * @since 5.4.0 * * @param n/a * @return n/a */ function acf_validate_save_post() { } /* * admin_footer * * This function will add some custom HTML to the footer of the edit page * * @type function * @date 11/06/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function admin_footer() { } } class ACF_Form_Post { /** @var string The first field groups style CSS. */ var $style = ''; /** * __construct * * Sets up the class functionality. * * @date 5/03/2014 * @since 5.0.0 * * @param void * @return void */ function __construct() { } /** * initialize * * Sets up Form functionality. * * @date 19/9/18 * @since 5.7.6 * * @param void * @return void */ function initialize() { } /** * add_meta_boxes * * Adds ACF metaboxes for the given $post_type and $post. * * @date 19/9/18 * @since 5.7.6 * * @param string $post_type The post type. * @param WP_Post $post The post being edited. * @return void */ function add_meta_boxes($post_type, $post) { } /** * edit_form_after_title * * Called after the title adn before the content editor. * * @date 19/9/18 * @since 5.7.6 * * @param void * @return void */ function edit_form_after_title() { } /** * render_meta_box * * Renders the ACF metabox HTML. * * @date 19/9/18 * @since 5.7.6 * * @param WP_Post $post The post being edited. * @param array metabox The add_meta_box() args. * @return void */ function render_meta_box($post, $metabox) { } /** * wp_insert_post_empty_content * * Allows WP to insert a new post without title or post_content if ACF data exists. * * @date 16/07/2014 * @since 5.0.1 * * @param bool $maybe_empty Whether the post should be considered "empty". * @param array $postarr Array of post data. * @return bool */ function wp_insert_post_empty_content($maybe_empty, $postarr) { } /* * allow_save_post * * Checks if the $post is allowed to be saved. * Used to avoid triggering "acf/save_post" on dynamically created posts during save. * * @type function * @date 26/06/2016 * @since 5.3.8 * * @param WP_Post $post The post to check. * @return bool */ function allow_save_post($post) { } /* * save_post * * Triggers during the 'save_post' action to save the $_POST data. * * @type function * @date 23/06/12 * @since 1.0.0 * * @param int $post_id The post ID * @param WP_POST $post the post object. * @return int */ function save_post($post_id, $post) { } } class acf_form_taxonomy { var $view = 'add'; /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * validate_page * * This function will check if the current page is for a post/page edit form * * @type function * @date 23/06/12 * @since 3.1.8 * * @param n/a * @return (boolean) */ function validate_page() { } /* * admin_enqueue_scripts * * This action is run after post query but before any admin script / head actions. * It is a good place to register all actions. * * @type action (admin_enqueue_scripts) * @date 26/01/13 * @since 3.6.0 * * @param N/A * @return N/A */ function admin_enqueue_scripts() { } /* * add_term * * description * * @type function * @date 8/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function add_term($taxonomy) { } /* * edit_term * * description * * @type function * @date 8/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function edit_term($term, $taxonomy) { } /* * admin_footer * * description * * @type function * @date 27/03/2015 * @since 5.1.5 * * @param $post_id (int) * @return $post_id (int) */ function admin_footer() { } /* * save_term * * description * * @type function * @date 8/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function save_term($term_id, $tt_id, $taxonomy) { } /* * delete_term * * description * * @type function * @date 15/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function delete_term($term, $tt_id, $taxonomy, $deleted_term) { } } class ACF_Form_User { /** @var string The current view (new, edit, register) */ var $view = ''; /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /** * admin_enqueue_scripts * * Checks current screen and enqueues scripts * * @date 17/4/18 * @since 5.6.9 * * @param void * @return void */ function admin_enqueue_scripts() { } /** * login_form_register * * Customizes and enqueues scripts * * @date 17/4/18 * @since 5.6.9 * * @param void * @return void */ function login_form_register() { } /* * register_user * * Called during the user register form * * @type function * @date 8/10/13 * @since 5.0.0 * * @param void * @return void */ function render_register() { } /* * render_edit * * Called during the user edit form * * @type function * @date 8/10/13 * @since 5.0.0 * * @param void * @return void */ function render_edit($user) { } /* * user_new_form * * description * * @type function * @date 8/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function render_new() { } /* * render * * This function will render ACF fields for a given $post_id parameter * * @type function * @date 7/10/13 * @since 5.0.0 * * @param $user_id (int) this can be set to 0 for a new user * @param $user_form (string) used for location rule matching. edit | add | register * @param $el (string) * @return n/a */ function render($args = array()) { } /* * admin_footer * * description * * @type function * @date 27/03/2015 * @since 5.1.5 * * @param $post_id (int) * @return $post_id (int) */ function admin_footer() { } /* * save_user * * description * * @type function * @date 8/10/13 * @since 5.0.0 * * @param $post_id (int) * @return $post_id (int) */ function save_user($user_id) { } /** * filter_registration_errors * * Validates $_POST data and appends any errors to prevent new user registration. * * @date 12/7/19 * @since 5.8.1 * * @param WP_Error $errors A WP_Error object containing any errors encountered during registration. * @param string $sanitized_user_login User's username after it has been sanitized. * @param string $user_email User's email. * @return WP_Error */ function filter_registration_errors($errors, $sanitized_user_login, $user_email) { } /** * filter_pre_load_value * * Checks if a $_POST value exists for this field to allow persistent values. * * @date 12/7/19 * @since 5.8.2 * * @param null $null A null placeholder. * @param (int|string) $post_id The post id. * @param array $field The field array. * @return mixed */ function filter_pre_load_value($null, $post_id, $field) { } } class acf_form_widget { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * admin_enqueue_scripts * * This action is run after post query but before any admin script / head actions. * It is a good place to register all actions. * * @type action (admin_enqueue_scripts) * @date 26/01/13 * @since 3.6.0 * * @param N/A * @return N/A */ function admin_enqueue_scripts() { } /* * acf_validate_save_post * * This function will loop over $_POST data and validate * * @type action 'acf/validate_save_post' 5 * @date 7/09/2016 * @since 5.4.0 * * @param n/a * @return n/a */ function acf_validate_save_post() { } /* * edit_widget * * This function will render the fields for a widget form * * @type function * @date 11/06/2014 * @since 5.0.0 * * @param $widget (object) * @param $return (null) * @param $instance (object) * @return $post_id (int) */ function edit_widget($widget, $return, $instance) { } /* * save_widget * * This function will hook into the widget update filter and save ACF data * * @type function * @date 27/05/2015 * @since 5.2.3 * * @param $instance (array) widget settings * @param $new_instance (array) widget settings * @param $old_instance (array) widget settings * @param $widget (object) widget info * @return $instance */ function save_widget($instance, $new_instance, $old_instance, $widget) { } /* * admin_footer * * This function will add some custom HTML to the footer of the edit page * * @type function * @date 11/06/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function admin_footer() { } } class acf_json { function __construct() { } /* * update_field_group * * This function is hooked into the acf/update_field_group action and will save all field group data to a .json file * * @type function * @date 10/03/2014 * @since 5.0.0 * * @param $field_group (array) * @return n/a */ function update_field_group($field_group) { } /* * delete_field_group * * This function will remove the field group .json file * * @type function * @date 10/03/2014 * @since 5.0.0 * * @param $field_group (array) * @return n/a */ function delete_field_group($field_group) { } /* * include_json_folders * * This function will include all registered .json files * * @type function * @date 10/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function include_json_folders() { } /* * include_json_folder * * This function will include all .json files within a folder * * @type function * @date 1/5/17 * @since 5.5.13 * * @param n/a * @return n/a */ function include_json_folder($path = '') { } } class ACF_Local_Meta { /** @var array Storage for meta data. */ var $meta = array(); /** @var mixed Storage for the current post_id. */ var $post_id = 0; /** * __construct * * Sets up the class functionality. * * @date 8/10/18 * @since 5.8.0 * * @param void * @return void */ function __construct() { } /** * add * * Adds postmeta to storage. * Accepts data in either raw or request format. * * @date 8/10/18 * @since 5.8.0 * * @param array $meta An array of metdata to store. * @param mixed $post_id The post_id for this data. * @param bool $is_main Makes this postmeta visible to get_field() without a $post_id value. * @return array */ function add($meta = array(), $post_id = 0, $is_main = \false) { } /** * is_request * * Returns true if the supplied $meta is from a REQUEST (serialized
data). * * @date 11/3/19 * @since 5.7.14 * * @param array $meta An array of metdata to check. * @return bool */ function is_request($meta = array()) { } /** * capture * * Returns a flattened array of meta for the given postdata. * This is achieved by simulating a save whilst capturing all meta changes. * * @date 26/2/19 * @since 5.7.13 * * @param array $values An array of raw values. * @param mixed $post_id The post_id for this data. * @return array */ function capture($values = array(), $post_id = 0) { } /** * capture_update_metadata * * Records all meta activity and returns a non null value to bypass DB updates. * * @date 26/2/19 * @since 5.7.13 * * @param null $null . * @param (int|string) $post_id The post id. * @param string $name The meta name. * @param mixed $value The meta value. * @param bool $hidden If the meta is hidden (starts with an underscore). * @return false. */ function capture_update_metadata($null, $post_id, $name, $value, $hidden) { } /** * remove * * Removes postmeta from storage. * * @date 8/10/18 * @since 5.8.0 * * @param mixed $post_id The post_id for this data. * @return void */ function remove($post_id = 0) { } /** * pre_load_meta * * Injects the local meta. * * @date 8/10/18 * @since 5.8.0 * * @param null $null An empty parameter. Return a non null value to short-circuit the function. * @param mixed $post_id The post_id for this data. * @return mixed */ function pre_load_meta($null, $post_id) { } /** * pre_load_metadata * * Injects the local meta. * * @date 8/10/18 * @since 5.8.0 * * @param null $null An empty parameter. Return a non null value to short-circuit the function. * @param (int|string) $post_id The post id. * @param string $name The meta name. * @param bool $hidden If the meta is hidden (starts with an underscore). * @return mixed */ function pre_load_metadata($null, $post_id, $name, $hidden) { } /** * pre_load_post_id * * Injects the local post_id. * * @date 8/10/18 * @since 5.8.0 * * @param null $null An empty parameter. Return a non null value to short-circuit the function. * @param mixed $post_id The post_id for this data. * @return mixed */ function pre_load_post_id($null, $post_id) { } } class acf_locations { /** @var array Contains an array of location rule instances */ var $locations = array(); /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * register_location * * This function will store a location rule class * * @type function * @date 6/07/2016 * @since 5.4.0 * * @param $instance (object) * @return n/a */ function register_location($class) { } /* * get_rule * * This function will return a location rule class * * @type function * @date 6/07/2016 * @since 5.4.0 * * @param $name (string) * @return (mixed) */ function get_location($name) { } /* * get_rules * * This function will return a grouped array of location rules (category => name => label) * * @type function * @date 6/07/2016 * @since 5.4.0 * * @param n/a * @return (array) */ function get_locations() { } } class acf_location_attachment extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_comment extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_current_user_role extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_current_user extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_nav_menu_item extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_nav_menu extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_page_parent extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_page_template extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_page_type extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_page extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_post_category extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_post_format extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * get_post_type * * This function will return the current post_type * * @type function * @date 25/11/16 * @since 5.5.0 * * @param $options (int) * @return (mixed) */ function get_post_type($screen) { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_post_status extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * get_post_type * * This function will return the current post_type * * @type function * @date 25/11/16 * @since 5.5.0 * * @param $options (int) * @return (mixed) */ function get_post_type($screen) { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_post_taxonomy extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_post_template extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * get_post_type * * This function will return the current post_type * * @type function * @date 25/11/16 * @since 5.5.0 * * @param $options (int) * @return (mixed) */ function get_post_type($screen) { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_post_type extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * get_post_type * * This function will return the current post_type * * @type function * @date 25/11/16 * @since 5.5.0 * * @param $options (int) * @return (mixed) */ function get_post_type($screen) { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_post extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_location_taxonomy extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class ACF_Location { /** @var string The location rule name. */ public $name = ''; /** @var string The location rule label. */ public $label = ''; /** @var string The location rule category. */ public $category = 'post'; /** @var string The location rule visibility. */ public $public = \true; /** * __construct * * Sets up the class functionality. * * @date 5/03/2014 * @since 5.0.0 * * @param void * @return void */ function __construct() { } /** * add_filter * * Maybe adds a filter callback. * * @date 17/9/19 * @since 5.8.1 * * @param string $tag The filter name. * @param callable $function_to_add The callback function. * @param int $priority The filter priority. * @param int $accepted_args The number of args to accept. * @return void */ function add_filter($tag = '', $function_to_add = '', $priority = 10, $accepted_args = 1) { } /** * initialize * * Sets up the class functionality. * * @date 5/03/2014 * @since 5.0.0 * * @param void * @return void */ function initialize() { } /** * compare * * Compares the given value and rule params returning true when they match. * * @date 17/9/19 * @since 5.8.1 * * @param mixed $value The value to compare against. * @param array $rule The locatio rule data. * @return bool */ function compare($value, $rule) { } } class ACF_Location_User_Form extends \ACF_Location { /** * initialize * * Sets up the class functionality. * * @date 5/03/2014 * @since 5.0.0 * * @param void * @return void */ function initialize() { } /** * rule_match * * Determines if the given location $rule is a match for the current $screen. * * @date 17/9/19 * @since 5.8.1 * * @param bool $result Whether or not this location rule is a match. * @param array $rule The locatio rule data. * @param array $screen The current screen data. * @return bool */ function rule_match($result, $rule, $screen) { } /** * rule_values * * Returns an array of values for this location rule. * * @date 17/9/19 * @since 5.8.1 * * @param array $choices An empty array. * @param array $rule The locatio rule data. * @return type Description. */ function rule_values($choices, $rule) { } } class ACF_Location_User_Role extends \acf_location { /** * initialize * * Sets up the class functionality. * * @date 5/03/2014 * @since 5.0.0 * * @param void * @return void */ function initialize() { } /** * rule_match * * Determines if the given location $rule is a match for the current $screen. * * @date 17/9/19 * @since 5.8.1 * * @param bool $result Whether or not this location rule is a match. * @param array $rule The locatio rule data. * @param array $screen The current screen data. * @return bool */ function rule_match($result, $rule, $screen) { } /** * rule_values * * Returns an array of values for this location rule. * * @date 17/9/19 * @since 5.8.1 * * @param array $choices An empty array. * @param array $rule The locatio rule data. * @return array */ function rule_values($choices, $rule) { } } class acf_location_widget extends \acf_location { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function initialize() { } /* * rule_match * * This function is used to match this location $rule to the current $screen * * @type function * @date 3/01/13 * @since 3.5.7 * * @param $match (boolean) * @param $rule (array) * @return $options (array) */ function rule_match($result, $rule, $screen) { } /* * rule_operators * * This function returns the available values for this rule type * * @type function * @date 30/5/17 * @since 5.6.0 * * @param n/a * @return (array) */ function rule_values($choices, $rule) { } } class acf_loop { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * is_empty * * This function will return true if no loops exist * * @type function * @date 3/03/2016 * @since 5.3.2 * * @param n/a * @return (boolean) */ function is_empty() { } /* * is_loop * * This function will return true if a loop exists for the given array index * * @type function * @date 3/03/2016 * @since 5.3.2 * * @param $i (int) * @return (boolean) */ function is_loop($i = 0) { } /* * get_i * * This function will return a valid array index for the given $i * * @type function * @date 3/03/2016 * @since 5.3.2 * * @param $i (mixed) * @return (int) */ function get_i($i = 0) { } /* * add_loop * * This function will add a new loop * * @type function * @date 3/03/2016 * @since 5.3.2 * * @param $loop (array) * @return n/a */ function add_loop($loop = array()) { } /* * update_loop * * This function will update a loop's setting * * @type function * @date 3/03/2016 * @since 5.3.2 * * @param $i (mixed) * @param $key (string) the loop setting name * @param $value (mixed) the loop setting value * @return (boolean) true on success */ function update_loop($i = 'active', $key = \null, $value = \null) { } /* * get_loop * * This function will return a loop, or loop's setting for a given index & key * * @type function * @date 3/03/2016 * @since 5.3.2 * * @param $i (mixed) * @param $key (string) the loop setting name * @return (mixed) false on failure */ function get_loop($i = 'active', $key = \null) { } /* * remove_loop * * This function will remove a loop * * @type function * @date 3/03/2016 * @since 5.3.2 * * @param $i (mixed) * @return (boolean) true on success */ function remove_loop($i = 'active') { } } class ACF_Media { /* * __construct * * Initialize filters, action, variables and includes * * @type function * @date 23/06/12 * @since 5.0.0 * * @param N/A * @return N/A */ function __construct() { } /** * enqueue_scripts * * Localizes data * * @date 27/4/18 * @since 5.6.9 * * @param void * @return void */ function enqueue_scripts() { } /* * handle_upload_prefilter * * description * * @type function * @date 16/02/2015 * @since 5.1.5 * * @param $post_id (int) * @return $post_id (int) */ function handle_upload_prefilter($file) { } /* * save_files * * This function will save the $_FILES data * * @type function * @date 24/10/2014 * @since 5.0.9 * * @param $post_id (int) * @return $post_id (int) */ function save_files($post_id = 0) { } /* * wp_ajax_query_attachments * * description * * @type function * @date 26/06/2015 * @since 5.2.3 * * @param $post_id (int) * @return $post_id (int) */ function wp_ajax_query_attachments() { } function wp_prepare_attachment_for_js($response, $attachment, $meta) { } } class acf_revisions { // vars var $cache = array(); /* * __construct * * A good place to add actions / filters * * @type function * @date 11/08/13 * * @param N/A * @return N/A */ function __construct() { } /* * wp_preview_post_fields * * This function is used to trick WP into thinking that one of the $post's fields has changed and * will allow an autosave to be updated. * Fixes an odd bug causing the preview page to render the non autosave post data on every odd attempt * * @type function * @date 21/10/2014 * @since 5.1.0 * * @param $fields (array) * @return $fields */ function wp_preview_post_fields($fields) { } /* * wp_save_post_revision_check_for_changes * * This filter will return false and force WP to save a revision. This is required due to * WP checking only post_title, post_excerpt and post_content values, not custom fields. * * @type filter * @date 19/09/13 * * @param $return (boolean) defaults to true * @param $last_revision (object) the last revision that WP will compare against * @param $post (object) the $post that WP will compare against * @return $return (boolean) */ function wp_save_post_revision_check_for_changes($return, $last_revision, $post) { } /* * wp_post_revision_fields * * This filter will add the ACF fields to the returned array * Versions 3.5 and 3.6 of WP feature different uses of the revisions filters, so there are * some hacks to allow both versions to work correctly * * @type filter * @date 11/08/13 * * @param $post_id (int) * @return $post_id (int) */ function wp_post_revision_fields($fields, $post = \null) { } /* * wp_post_revision_field * * This filter will load the value for the given field and return it for rendering * * @type filter * @date 11/08/13 * * @param $value (mixed) should be false as it has not yet been loaded * @param $field_name (string) The name of the field * @param $post (mixed) Holds the $post object to load from - in WP 3.5, this is not passed! * @param $direction (string) to / from - not used * @return $value (string) */ function wp_post_revision_field($value, $field_name, $post = \null, $direction = \false) { } /* * wp_restore_post_revision * * This action will copy and paste the metadata from a revision to the post * * @type action * @date 11/08/13 * * @param $parent_id (int) the destination post * @return $revision_id (int) the source post */ function wp_restore_post_revision($post_id, $revision_id) { } /* * acf_validate_post_id * * This function will modify the $post_id and allow loading values from a revision * * @type function * @date 6/3/17 * @since 5.5.10 * * @param $post_id (int) * @param $_post_id (int) * @return $post_id (int) */ function acf_validate_post_id($post_id, $_post_id) { } } class acf_third_party { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /** * acf_get_post_types * * EE post types do not use the native post.php edit page, but instead render their own. * Show the EE post types in lists where 'show_ui' is used. * * @date 24/2/18 * @since 5.6.9 * * @param array $post_types * @param array $args * @return array */ function ee_get_post_types($post_types, $args) { } /* * tabify_posttypes * * This function removes ACF post types from the tabify edit screen (post type selection sidebar) * * @type function * @date 9/10/12 * @since 3.5.1 * * @param $post_id (int) * @return $post_id (int) */ function tabify_posttypes($posttypes) { } /* * tabify_add_meta_boxes * * This function creates dummy metaboxes on the tabify edit screen page * * @type function * @date 9/10/12 * @since 3.5.1 * * @param $post_type (string) * @return n/a */ function tabify_add_meta_boxes($post_type) { } /* * pts_allowed_pages * * This filter will prevent PTS from running on the field group page! * * @type function * @date 25/09/2014 * @since 5.0.0 * * @param $pages (array) * @return $pages */ function pts_allowed_pages($pages) { } /** * doing_dark_mode * * Runs during 'admin_enqueue_scripts' if dark mode is enabled * * @date 13/8/18 * @since 5.7.3 * * @param void * @return void */ function doing_dark_mode() { } } class ACF_Updates { /** @var string The ACF_Updates version */ var $version = '2.4'; /** @var array The array of registered plugins */ var $plugins = array(); /** @var int Counts the number of plugin update checks */ var $checked = 0; /* * __construct * * Sets up the class functionality. * * @date 5/03/2014 * @since 5.0.0 * * @param void * @return void */ function __construct() { } /* * add_plugin * * Registeres a plugin for updates. * * @date 8/4/17 * @since 5.5.10 * * @param array $plugin The plugin array. * @return void */ function add_plugin($plugin) { } /** * get_plugin_by * * Returns a registered plugin for the give key and value. * * @date 3/8/18 * @since 5.7.2 * * @param string $key The array key to compare * @param string $value The value to compare against * @return array|false */ function get_plugin_by($key = '', $value = \null) { } /* * request * * Makes a request to the ACF connect server. * * @date 8/4/17 * @since 5.5.10 * * @param string $endpoint The API endpoint. * @param array $body The body to post. * @return (array|string|WP_Error) */ function request($endpoint = '', $body = \null) { } /* * get_plugin_info * * Returns update information for the given plugin id. * * @date 9/4/17 * @since 5.5.10 * * @param string $id The plugin id such as 'pro'. * @param boolean $force_check Bypasses cached result. Defaults to false. * @return array|WP_Error */ function get_plugin_info($id = '', $force_check = \false) { } /** * get_plugin_update * * Returns specific data from the 'update-check' response. * * @date 3/8/18 * @since 5.7.2 * * @param string $basename The plugin basename. * @param boolean $force_check Bypasses cached result. Defaults to false * @return array */ function get_plugin_update($basename = '', $force_check = \false) { } /** * get_plugin_updates * * Checks for plugin updates. * * @date 8/7/18 * @since 5.6.9 * @since 5.7.2 Added 'checked' comparison * * @param boolean $force_check Bypasses cached result. Defaults to false. * @return array|WP_Error. */ function get_plugin_updates($force_check = \false) { } /** * get_expiration * * This function safely gets the expiration value from a response. * * @date 8/7/18 * @since 5.6.9 * * @param mixed $response The response from the server. Default false. * @param int $min The minimum expiration limit. Default 0. * @param int $max The maximum expiration limit. Default 0. * @return int */ function get_expiration($response = \false, $min = 0, $max = 0) { } /* * refresh_plugins_transient * * Deletes transients and allows a fresh lookup. * * @date 11/4/17 * @since 5.5.10 * * @param void * @return void */ function refresh_plugins_transient() { } /* * modify_plugins_transient * * Called when WP updates the 'update_plugins' site transient. Used to inject ACF plugin update info. * * @date 16/01/2014 * @since 5.0.0 * * @param object $transient * @return $transient */ function modify_plugins_transient($transient) { } /* * modify_plugin_details * * Returns the plugin data visible in the 'View details' popup * * @date 17/01/2014 * @since 5.0.0 * * @param object $result * @param string $action * @param object $args * @return $result */ function modify_plugin_details($result, $action = \null, $args = \null) { } } class acf_validation { /* * __construct * * This function will setup the class functionality * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { } /* * add_error * * This function will add an error message for a field * * @type function * @date 25/11/2013 * @since 5.0.0 * * @param $input (string) name attribute of DOM elmenet * @param $message (string) error message * @return $post_id (int) */ function add_error($input, $message) { } /* * get_error * * This function will return an error for a given input * * @type function * @date 5/03/2016 * @since 5.3.2 * * @param $input (string) name attribute of DOM elmenet * @return (mixed) */ function get_error($input) { } /* * get_errors * * This function will return validation errors * * @type function * @date 25/11/2013 * @since 5.0.0 * * @param n/a * @return (array|boolean) */ function get_errors() { } /* * reset_errors * * This function will remove all errors * * @type function * @date 4/03/2016 * @since 5.3.2 * * @param n/a * @return n/a */ function reset_errors() { } /* * ajax_validate_save_post * * This function will validate the $_POST data via AJAX * * @type function * @date 27/10/2014 * @since 5.0.9 * * @param n/a * @return n/a */ function ajax_validate_save_post() { } /* * acf_validate_save_post * * This function will loop over $_POST data and validate * * @type function * @date 7/09/2016 * @since 5.4.0 * * @param n/a * @return n/a */ function acf_validate_save_post() { } } class ACF_Walker_Nav_Menu_Edit extends \Walker_Nav_Menu_Edit { /** * Starts the element output. * * Calls the Walker_Nav_Menu_Edit start_el function and then injects the custom field HTML * * @since 5.0.0 * @since 5.7.2 Added preg_replace based on https://github.com/ineagu/wp-menu-item-custom-fields * * @param string $output Used to append additional content (passed by reference). * @param WP_Post $item Menu item data object. * @param int $depth Depth of menu item. Used for padding. * @param stdClass $args An object of wp_nav_menu() arguments. * @param int $id Current item ID. */ function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0) { } /** * Get custom fields HTML * * @since 5.0.0 * @since 5.7.2 Added action based on https://github.com/ineagu/wp-menu-item-custom-fields * * @param object $item Menu item data object. * @param int $depth Depth of menu item. Used for padding. * @param array $args Menu item args. * @param int $id Nav menu ID. * @return string */ function get_fields($item, $depth, $args = array(), $id = 0) { } } class ACF_Taxonomy_Field_Walker extends \Walker { var $field = \null, $tree_type = 'category', $db_fields = array('parent' => 'parent', 'id' => 'term_id'); function __construct($field) { } function start_el(&$output, $term, $depth = 0, $args = array(), $current_object_id = 0) { } function end_el(&$output, $term, $depth = 0, $args = array()) { } function start_lvl(&$output, $depth = 0, $args = array()) { } function end_lvl(&$output, $depth = 0, $args = array()) { } } class ACF_WPML_Compatibility { /** * __construct * * Sets up the class functionality. * * @date 23/06/12 * @since 3.1.8 * * @param void * @return void */ function __construct() { } /** * is_translatable * * Returns true if the acf-field-group post type is translatable. * Also adds compatibility with ACF4 settings * * @date 10/04/2015 * @since 5.2.3 * * @param void * @return bool */ function is_translatable() { } /** * upgrade_500_field_group * * Update the icl_translations table data when creating the field groups. * * @date 10/04/2015 * @since 5.2.3 * * @param array $field_group The new field group array. * @param object $ofg The old field group WP_Post object. * @return void */ function upgrade_500_field_group($field_group, $ofg) { } /** * settings_save_json * * Modifies the json path. * * @date 19/05/2014 * @since 5.0.0 * * @param string $path The json save path. * @return string */ function settings_save_json($path) { } /** * settings_load_json * * Modifies the json path. * * @date 19/05/2014 * @since 5.0.0 * * @param string $path The json save path. * @return string */ function settings_load_json($paths) { } /** * icl_make_duplicate * * description * * @date 26/02/2014 * @since 5.0.0 * * @param void * @return void */ function icl_make_duplicate($master_post_id, $lang, $postarr, $id) { } /** * verify_ajax * * Sets the correct language during AJAX requests. * * @type function * @date 7/08/2015 * @since 5.2.3 * * @param void * @return void */ function verify_ajax() { } /** * get_translatable_documents * * Removes 'acf-field' from the available post types for translation. * * @type function * @date 17/8/17 * @since 5.6.0 * * @param array $icl_post_types The array of post types. * @return array */ function get_translatable_documents($icl_post_types) { } } /* * acf * * The main function responsible for returning the one true acf Instance to functions everywhere. * Use this function like you would a global variable, except without needing to declare the global. * * Example: * * @date 4/09/13 * @since 4.3.0 * * @param void * @return ACF */ function acf() { } /** * acf_get_field * * Retrieves a field for the given identifier. * * @date 17/1/19 * @since 5.7.10 * * @param (int|string) $id The field ID, key or name. * @return (array|false) The field array. */ function acf_get_field($id = 0) { } /** * acf_get_raw_field * * Retrieves raw field data for the given identifier. * * @date 18/1/19 * @since 5.7.10 * * @param (int|string) $id The field ID, key or name. * @return (array|false) The field array. */ function acf_get_raw_field($id = 0) { } /** * acf_get_field_post * * Retrieves the field's WP_Post object. * * @date 18/1/19 * @since 5.7.10 * * @param (int|string) $id The field ID, key or name. * @return (array|false) The field array. */ function acf_get_field_post($id = 0) { } /** * acf_is_field_key * * Returns true if the given identifier is a field key. * * @date 6/12/2013 * @since 5.0.0 * * @param string $id The identifier. * @return bool */ function acf_is_field_key($id = '') { } /** * acf_validate_field * * Ensures the given field valid. * * @date 18/1/19 * @since 5.7.10 * * @param array $field The field array. * @return array */ function acf_validate_field($field = array()) { } /** * acf_get_valid_field * * Ensures the given field valid. * * @date 28/09/13 * @since 5.0.0 * * @param array $field The field array. * @return array */ function acf_get_valid_field($field = \false) { } /** * acf_translate_field * * Translates a field's settings. * * @date 8/03/2016 * @since 5.3.2 * * @param array $field The field array. * @return array */ function acf_translate_field($field = array()) { } /** * acf_get_fields * * Returns and array of fields for the given $parent. * * @date 30/09/13 * @since 5.0.0 * * @param (int|string|array) $parent The field group or field settings. Also accepts the field group ID or key. * @return array */ function acf_get_fields($parent) { } /** * acf_get_raw_fields * * Returns and array of raw field data for the given parent id. * * @date 18/1/19 * @since 5.7.10 * * @param int $id The field group or field id. * @return array */ function acf_get_raw_fields($id = 0) { } /** * acf_get_field_count * * Return the number of fields for the given field group. * * @date 17/10/13 * @since 5.0.0 * * @param array $parent The field group or field array. * @return int */ function acf_get_field_count($parent) { } /** * acf_clone_field * * Allows customization to a field when it is cloned. Used by the clone field. * * @date 8/03/2016 * @since 5.3.2 * * @param array $field The field being cloned. * @param array $clone_field The clone field. * @return array */ function acf_clone_field($field, $clone_field) { } /** * acf_prepare_field * * Prepare a field for input. * * @date 20/1/19 * @since 5.7.10 * * @param array $field The field array. * @return array */ function acf_prepare_field($field) { } /** * acf_render_fields * * Renders an array of fields. Also loads the field's value. * * @date 8/10/13 * @since 5.0.0 * @since 5.6.9 Changed parameter order. * * @param array $fields An array of fields. * @param (int|string) $post_id The post ID to load values from. * @param string $element The wrapping element type. * @param string $instruction The instruction render position (label|field). * @return void */ function acf_render_fields($fields, $post_id = 0, $el = 'div', $instruction = 'label') { } /** * acf_render_field_wrap * * Render the wrapping element for a given field. * * @date 28/09/13 * @since 5.0.0 * * @param array $field The field array. * @param string $element The wrapping element type. * @param string $instruction The instruction render position (label|field). * @return void */ function acf_render_field_wrap($field, $element = 'div', $instruction = 'label') { } /** * acf_render_field * * Render the input element for a given field. * * @date 21/1/19 * @since 5.7.10 * * @param array $field The field array. * @return void */ function acf_render_field($field) { } /** * acf_render_field_label * * Renders the field's label. * * @date 19/9/17 * @since 5.6.3 * * @param array $field The field array. * @return void */ function acf_render_field_label($field) { } /** * acf_get_field_label * * Returns the field's label with appropriate required label. * * @date 4/11/2013 * @since 5.0.0 * * @param array $field The field array. * @param string $context The output context (admin). * @return void */ function acf_get_field_label($field, $context = '') { } /** * acf_render_field_instructions * * Renders the field's instructions. * * @date 19/9/17 * @since 5.6.3 * * @param array $field The field array. * @return void */ function acf_render_field_instructions($field) { } /** * acf_render_field_setting * * Renders a field setting used in the admin edit screen. * * @date 21/1/19 * @since 5.7.10 * * @param array $field The field array. * @param array $setting The settings field array. * @param bool $global Whether this setting is a global or field type specific one. * @return void */ function acf_render_field_setting($field, $setting, $global = \false) { } /** * acf_update_field * * Updates a field in the database. * * @date 21/1/19 * @since 5.7.10 * * @param array $field The field array. * @param array $specific An array of specific field attributes to update. * @return void */ function acf_update_field($field, $specific = array()) { } /** * _acf_apply_unique_field_slug * * Allows full control over 'acf-field' slugs. * * @date 21/1/19 * @since 5.7.10 * * @param string $slug The post slug. * @param int $post_ID Post ID. * @param string $post_status The post status. * @param string $post_type Post type. * @param int $post_parent Post parent ID * @param string $original_slug The original post slug. */ function _acf_apply_unique_field_slug($slug, $post_ID, $post_status, $post_type, $post_parent, $original_slug) { } /** * acf_flush_field_cache * * Deletes all caches for this field. * * @date 22/1/19 * @since 5.7.10 * * @param array $field The field array. * @return void */ function acf_flush_field_cache($field) { } /** * acf_delete_field * * Deletes a field from the database. * * @date 21/1/19 * @since 5.7.10 * * @param (int|string) $id The field ID, key or name. * @return bool True if field was deleted. */ function acf_delete_field($id = 0) { } /** * acf_trash_field * * Trashes a field from the database. * * @date 2/10/13 * @since 5.0.0 * * @param (int|string) $id The field ID, key or name. * @return bool True if field was trashed. */ function acf_trash_field($id = 0) { } /** * acf_untrash_field * * Restores a field from the trash. * * @date 2/10/13 * @since 5.0.0 * * @param (int|string) $id The field ID, key or name. * @return bool True if field was trashed. */ function acf_untrash_field($id = 0) { } /** * acf_prefix_fields * * Changes the prefix for an array of fields by reference. * * @date 5/9/17 * @since 5.6.0 * * @param array $fields An array of fields. * @param string $prefix The new prefix. * @return void */ function acf_prefix_fields(&$fields, $prefix = 'acf') { } /** * acf_get_sub_field * * Searches a field for sub fields matching the given selector. * * @date 21/1/19 * @since 5.7.10 * * @param (int|string) $id The field ID, key or name. * @param array $field The parent field array. * @return (array|false) */ function acf_get_sub_field($id, $field) { } /** * acf_search_fields * * Searches an array of fields for one that matches the given identifier. * * @date 12/2/19 * @since 5.7.11 * * @param (int|string) $id The field ID, key or name. * @param array $haystack The array of fields. * @return (int|false) */ function acf_search_fields($id, $fields) { } /** * acf_is_field * * Returns true if the given params match a field. * * @date 21/1/19 * @since 5.7.10 * * @param array $field The field array. * @param mixed $id An optional identifier to search for. * @return bool */ function acf_is_field($field = \false, $id = '') { } /** * acf_get_field_ancestors * * Returns an array of ancestor field ID's or keys. * * @date 22/06/2016 * @since 5.3.8 * * @param array $field The field array. * @return array */ function acf_get_field_ancestors($field) { } /** * acf_duplicate_fields * * Duplicate an array of fields. * * @date 16/06/2014 * @since 5.0.0 * * @param array $fields An array of fields. * @param int $parent_id The new parent ID. * @return array */ function acf_duplicate_fields($fields = array(), $parent_id = 0) { } /** * acf_duplicate_field * * Duplicates a field. * * @date 16/06/2014 * @since 5.0.0 * * @param (int|string) $id The field ID, key or name. * @param int $parent_id The new parent ID. * @return bool True if field was duplicated. */ function acf_duplicate_field($id = 0, $parent_id = 0) { } /** * acf_prepare_fields_for_export * * Returns a modified array of fields ready for export. * * @date 11/03/2014 * @since 5.0.0 * * @param array $fields An array of fields. * @return array */ function acf_prepare_fields_for_export($fields = array()) { } /** * acf_prepare_field_for_export * * Returns a modified field ready for export. * * @date 11/03/2014 * @since 5.0.0 * * @param array $field The field array. * @return array */ function acf_prepare_field_for_export($field) { } /** * acf_prepare_field_for_import * * Returns a modified array of fields ready for import. * * @date 11/03/2014 * @since 5.0.0 * * @param array $fields An array of fields. * @return array */ function acf_prepare_fields_for_import($fields = array()) { } /** * acf_prepare_field_for_import * * Returns a modified field ready for import. * Allows parent fields to modify themselves and also return sub fields. * * @date 11/03/2014 * @since 5.0.0 * * @param array $field The field array. * @return array */ function acf_prepare_field_for_import($field) { } /** * acf_get_field_group * * Retrieves a field group for the given identifier. * * @date 30/09/13 * @since 5.0.0 * * @param (int|string) $id The field group ID, key or name. * @return (array|false) The field group array. */ function acf_get_field_group($id = 0) { } /** * acf_get_raw_field_group * * Retrieves raw field group data for the given identifier. * * @date 18/1/19 * @since 5.7.10 * * @param (int|string) $id The field ID, key or name. * @return (array|false) The field group array. */ function acf_get_raw_field_group($id = 0) { } /** * acf_get_field_group_post * * Retrieves the field group's WP_Post object. * * @date 18/1/19 * @since 5.7.10 * * @param (int|string) $id The field group's ID, key or name. * @return (array|false) The field group's array. */ function acf_get_field_group_post($id = 0) { } /** * acf_is_field_group_key * * Returns true if the given identifier is a field group key. * * @date 6/12/2013 * @since 5.0.0 * * @param string $id The identifier. * @return bool */ function acf_is_field_group_key($id = '') { } /** * acf_validate_field_group * * Ensures the given field group is valid. * * @date 18/1/19 * @since 5.7.10 * * @param array $field The field group array. * @return array */ function acf_validate_field_group($field_group = array()) { } /** * acf_get_valid_field_group * * Ensures the given field group is valid. * * @date 28/09/13 * @since 5.0.0 * * @param array $field_group The field group array. * @return array */ function acf_get_valid_field_group($field_group = \false) { } /** * acf_translate_field_group * * Translates a field group's settings. * * @date 8/03/2016 * @since 5.3.2 * * @param array $field_group The field group array. * @return array */ function acf_translate_field_group($field_group = array()) { } /** * acf_get_field_groups * * Returns and array of field_groups for the given $filter. * * @date 30/09/13 * @since 5.0.0 * * @param array $filter An array of args to filter results by. * @return array */ function acf_get_field_groups($filter = array()) { } /** * acf_get_raw_field_groups * * Returns and array of raw field_group data. * * @date 18/1/19 * @since 5.7.10 * * @param void * @return array */ function acf_get_raw_field_groups() { } /** * acf_filter_field_groups * * Returns a filtered aray of field groups based on the given $args. * * @date 29/11/2013 * @since 5.0.0 * * @param array $field_groups An array of field groups. * @param array $args An array of location args. * @return array */ function acf_filter_field_groups($field_groups, $args = array()) { } /** * acf_get_field_group_visibility * * Returns true if the given field group's location rules match the given $args. * * @date 7/10/13 * @since 5.0.0 * * @param array $field_groups An array of field groups. * @param array $args An array of location args. * @return bool */ function acf_get_field_group_visibility($field_group, $args = array()) { } /** * acf_update_field_group * * Updates a field group in the database. * * @date 21/1/19 * @since 5.7.10 * * @param array $field_group The field group array. * @return array */ function acf_update_field_group($field_group) { } /** * _acf_apply_unique_field_group_slug * * Allows full control over 'acf-field-group' slugs. * * @date 21/1/19 * @since 5.7.10 * * @param string $slug The post slug. * @param int $post_ID Post ID. * @param string $post_status The post status. * @param string $post_type Post type. * @param int $post_parent Post parent ID * @param string $original_slug The original post slug. */ function _acf_apply_unique_field_group_slug($slug, $post_ID, $post_status, $post_type, $post_parent, $original_slug) { } /** * acf_flush_field_group_cache * * Deletes all caches for this field group. * * @date 22/1/19 * @since 5.7.10 * * @param array $field_group The field group array. * @return void */ function acf_flush_field_group_cache($field_group) { } /** * acf_delete_field_group * * Deletes a field group from the database. * * @date 21/1/19 * @since 5.7.10 * * @param (int|string) $id The field group ID, key or name. * @return bool True if field group was deleted. */ function acf_delete_field_group($id = 0) { } /** * acf_trash_field_group * * Trashes a field group from the database. * * @date 2/10/13 * @since 5.0.0 * * @param (int|string) $id The field group ID, key or name. * @return bool True if field group was trashed. */ function acf_trash_field_group($id = 0) { } /** * acf_untrash_field_group * * Restores a field_group from the trash. * * @date 2/10/13 * @since 5.0.0 * * @param (int|string) $id The field_group ID, key or name. * @return bool True if field_group was trashed. */ function acf_untrash_field_group($id = 0) { } /** * acf_is_field_group * * Returns true if the given params match a field group. * * @date 21/1/19 * @since 5.7.10 * * @param array $field_group The field group array. * @param mixed $id An optional identifier to search for. * @return bool */ function acf_is_field_group($field_group = \false) { } /** * acf_duplicate_field_group * * Duplicates a field group. * * @date 16/06/2014 * @since 5.0.0 * * @param (int|string) $id The field_group ID, key or name. * @param int $new_post_id Optional post ID to override. * @return array The new field group. */ function acf_duplicate_field_group($id = 0, $new_post_id = 0) { } /** * acf_get_field_group_style * * Returns the CSS styles generated from field group settings. * * @date 20/10/13 * @since 5.0.0 * * @param array $field_group The field group array. * @return string. */ function acf_get_field_group_style($field_group) { } /** * acf_get_field_group_edit_link * * Checks if the current user can edit the field group and returns the edit url. * * @date 23/9/18 * @since 5.7.7 * * @param int $post_id The field group ID. * @return string */ function acf_get_field_group_edit_link($post_id) { } /** * acf_prepare_field_group_for_export * * Returns a modified field group ready for export. * * @date 11/03/2014 * @since 5.0.0 * * @param array $field_group The field group array. * @return array */ function acf_prepare_field_group_for_export($field_group = array()) { } /** * acf_import_field_group * * Imports a field group into the databse. * * @date 11/03/2014 * @since 5.0.0 * * @param array $field_group The field group array. * @return array The new field group. */ function acf_import_field_group($field_group) { } /** * acf_set_form_data * * Sets data about the current form. * * @date 6/10/13 * @since 5.0.0 * * @param string $name The store name. * @param array $data Array of data to start the store with. * @return ACF_Data */ function acf_set_form_data($name = '', $data = \false) { } /** * acf_get_form_data * * Gets data about the current form. * * @date 6/10/13 * @since 5.0.0 * * @param string $name The store name. * @return mixed */ function acf_get_form_data($name = '') { } /** * acf_form_data * * Called within a form to set important information and render hidden inputs. * * @date 15/10/13 * @since 5.0.0 * * @param void * @return void */ function acf_form_data($data = array()) { } /** * acf_save_post * * Saves the $_POST data. * * @date 15/10/13 * @since 5.0.0 * * @param int|string $post_id The post id. * @param array $values An array of values to override $_POST. * @return bool True if save was successful. */ function acf_save_post($post_id = 0, $values = \null) { } /** * _acf_do_save_post * * Private function hooked into 'acf/save_post' to actually save the $_POST data. * This allows developers to hook in before and after ACF has actually saved the data. * * @date 11/1/19 * @since 5.7.10 * * @param int|string $post_id The post id. * @return void */ function _acf_do_save_post($post_id = 0) { } /* * acf_is_empty * * Returns true if the value provided is considered "empty". Allows numbers such as 0. * * @date 6/7/16 * @since 5.4.0 * * @param mixed $var The value to check. * @return bool */ function acf_is_empty($var) { } /** * acf_not_empty * * Returns true if the value provided is considered "not empty". Allows numbers such as 0. * * @date 15/7/19 * @since 5.8.1 * * @param mixed $var The value to check. * @return bool */ function acf_not_empty($var) { } /** * acf_uniqid * * Returns a unique numeric based id. * * @date 9/1/19 * @since 5.7.10 * * @param string $prefix The id prefix. Defaults to 'acf'. * @return string */ function acf_uniqid($prefix = 'acf') { } /** * acf_merge_attributes * * Merges together two arrays but with extra functionality to append class names. * * @date 22/1/19 * @since 5.7.10 * * @param array $array1 An array of attributes. * @param array $array2 An array of attributes. * @return array */ function acf_merge_attributes($array1, $array2) { } /** * acf_cache_key * * Returns a filtered cache key. * * @date 25/1/19 * @since 5.7.11 * * @param string $key The cache key. * @return string */ function acf_cache_key($key = '') { } /** * acf_request_args * * Returns an array of $_REQUEST values using the provided defaults. * * @date 28/2/19 * @since 5.7.13 * * @param array $args An array of args. * @return array */ function acf_request_args($args = array()) { } /** * acf_enable_filter * * Enables a filter with the given name. * * @date 14/7/16 * @since 5.4.0 * * @param string name The modifer name. * @return void */ function acf_enable_filter($name = '') { } /** * acf_disable_filter * * Disables a filter with the given name. * * @date 14/7/16 * @since 5.4.0 * * @param string name The modifer name. * @return void */ function acf_disable_filter($name = '') { } /** * acf_is_filter_enabled * * Returns the state of a filter for the given name. * * @date 14/7/16 * @since 5.4.0 * * @param string name The modifer name. * @return array */ function acf_is_filter_enabled($name = '') { } /** * acf_get_filters * * Returns an array of filters in their current state. * * @date 14/7/16 * @since 5.4.0 * * @param void * @return array */ function acf_get_filters() { } /** * acf_set_filters * * Sets an array of filter states. * * @date 14/7/16 * @since 5.4.0 * * @param array $filters An Array of modifers * @return array */ function acf_set_filters($filters = array()) { } /** * acf_disable_filters * * Disables all filters and returns the previous state. * * @date 14/7/16 * @since 5.4.0 * * @param void * @return array */ function acf_disable_filters() { } /** * acf_enable_filters * * Enables all or an array of specific filters and returns the previous state. * * @date 14/7/16 * @since 5.4.0 * * @param array $filters An Array of modifers * @return array */ function acf_enable_filters($filters = array()) { } /** * acf_idval * * Parses the provided value for an ID. * * @date 29/3/19 * @since 5.7.14 * * @param mixed $value A value to parse. * @return int */ function acf_idval($value) { } /** * acf_maybe_idval * * Checks value for potential id value. * * @date 6/4/19 * @since 5.7.14 * * @param mixed $value A value to parse. * @return mixed */ function acf_maybe_idval($value) { } /** * acf_numericval * * Casts the provided value as eiter an int or float using a simple hack. * * @date 11/4/19 * @since 5.7.14 * * @param mixed $value A value to parse. * @return (int|float) */ function acf_numval($value) { } /** * acf_idify * * Returns an id attribute friendly string. * * @date 24/12/17 * @since 5.6.5 * * @param string $str The string to convert. * @return string */ function acf_idify($str = '') { } /** * acf_slugify * * Returns a slug friendly string. * * @date 24/12/17 * @since 5.6.5 * * @param string $str The string to convert. * @return string */ function acf_slugify($str = '') { } /** * acf_punctify * * Returns a string with correct full stop puctuation. * * @date 12/7/19 * @since 5.8.2 * * @param string $str The string to format. * @return string */ function acf_punctify($str = '') { } /** * acf_did * * Returns true if ACF already did an event. * * @date 30/8/19 * @since 5.8.1 * * @param string $name The name of the event. * @return bool */ function acf_did($name) { } /** * acf_add_filter_variations * * Registers variations for the given filter. * * @date 26/1/19 * @since 5.7.11 * * @param string $filter The filter name. * @param array $variations An array variation keys. * @param int $index The param index to find variation values. * @return void */ function acf_add_filter_variations($filter = '', $variations = array(), $index = 0) { } /** * acf_add_action_variations * * Registers variations for the given action. * * @date 26/1/19 * @since 5.7.11 * * @param string $action The action name. * @param array $variations An array variation keys. * @param int $index The param index to find variation values. * @return void */ function acf_add_action_variations($action = '', $variations = array(), $index = 0) { } /** * _acf_apply_hook_variations * * Applys hook variations during apply_filters() or do_action(). * * @date 25/1/19 * @since 5.7.11 * * @param mixed * @return mixed */ function _acf_apply_hook_variations() { } /** * acf_add_deprecated_filter * * Registers a deprecated filter to run during the replacement. * * @date 25/1/19 * @since 5.7.11 * * @param string $deprecated The deprecated hook. * @param string $version The version this hook was deprecated. * @param string $replacement The replacement hook. * @return void */ function acf_add_deprecated_filter($deprecated, $version, $replacement) { } /** * acf_add_deprecated_action * * Registers a deprecated action to run during the replacement. * * @date 25/1/19 * @since 5.7.11 * * @param string $deprecated The deprecated hook. * @param string $version The version this hook was deprecated. * @param string $replacement The replacement hook. * @return void */ function acf_add_deprecated_action($deprecated, $version, $replacement) { } /** * _acf_apply_deprecated_hook * * Applys a deprecated filter during apply_filters() or do_action(). * * @date 25/1/19 * @since 5.7.11 * * @param mixed * @return mixed */ function _acf_apply_deprecated_hook() { } /** * acf_filter_attrs * * Filters out empty attrs from the provided array. * * @date 11/6/19 * @since 5.8.1 * * @param array $attrs The array of attrs. * @return array */ function acf_filter_attrs($attrs) { } /** * acf_esc_attrs * * Generated valid HTML from an array of attrs. * * @date 11/6/19 * @since 5.8.1 * * @param array $attrs The array of attrs. * @return string */ function acf_esc_attrs($attrs) { } /** * acf_esc_html * * Encodes