advanced-custom-fields.6.8.6

WordPress Core
Compare: vs
Plugins
Themes

list of hooks defined in this version ( in do_action(), apply_filters() )

HookType
acf/acf_get_posts/args, $argsfilter
acf/acf_get_posts/results, $postsfilter
acf/activated_proaction
acf/add_meta_boxes, $post_type, $post, $field_groupsaction
acf/admin/prevent_escaped_html_notice, truefilter
acf/admin/show_email_opt_in_banner, $defaultfilter
acf/admin/toolbar, $more_itemsfilter
acf/admin_enqueue_scriptsaction
acf/admin_footeraction
acf/admin_headaction
acf/admin_print_footer_scriptsaction
acf/admin_print_scriptsaction
acf/admin_print_uploader_scriptsaction
acf/ajax/check_screen/response, $response, $field_groups, $argsfilter
acf/ajax/query_users/args, $args, $request, $thisfilter
acf/ajax/query_users/init, $request, $thisaction
acf/ajax/query_users/result, $item, $user, $thisfilter
acf/ajax/query_users/results, $results, $args, $thisfilter
acf/ajax/query_users/search_columns, $columns, $search, $WP_User_Query, $thisfilter
acf/ajax/shortcode_capability, edit_postsfilter
acf/allow_unfiltered_html, $allow_unfiltered_htmlfilter
acf/bidirectional/supported_field_types_for_post, $valid_target_types, $object_typefilter
acf/bidirectional/supported_target_field_types, array( relationship, post_object, user, taxonomyfilter
acf/bindings/field_not_allowed_message, [ . esc_html__( The requested ACF field is not allowed to be output in bindings or the ACF Shortcode., acffilter
acf/bindings/field_not_supported_message, [ . esc_html__( The requested ACF field type does not support output in Block Bindings or the ACF shortcode., acffilter
acf/blocks/binding_value, $value, $source_attrs, $block_instance, $attribute_namefilter
acf/clone_field, $field, $clone_fieldfilter
acf/compatibility/{$name}, falsefilter
acf/conditional_logic/choices, array( $rule[value] => $rule[value]filter
acf/connect_attachment_to_post, true, $attachment_id, $post_idfilter
acf/current_user_can_edit_in_context, false, $post_id_infofilter
acf/current_user_can_edit_post, $user_can_edit, $post_idfilter
acf/decode_post_id, compact( type, idfilter
acf/delete_field, $fieldaction
acf/delete_value, $post_id, $field[name], $fieldaction
acf/delete_{$this->hook_name}, $postaction
acf/duplicate_field, $fieldfilter
acf/duplicate_{$this->hook_name}, $postaction
acf/enqueue_scriptsaction
acf/enqueue_uploaderaction
acf/field_group/additional_field_settings_tabs, array(filter
acf/field_group/additional_group_settings_tabs, array(filter
acf/field_group/admin_enqueue_scriptsaction
acf/field_group/admin_footeraction
acf/field_group/admin_headaction
acf/field_group/admin_l10n, $l10nfilter
acf/field_group/auto_add_first_field, truefilter
acf/field_group/disable_field_settings_tabs, falsefilter
acf/field_group/enable_field_browser, truefilter
acf/field_group/enable_field_type_select2, truefilter
acf/field_group/form_data, $argsaction
acf/field_group/list_table_classes, $classes, $css_class, $post_idfilter
acf/field_group/prefill_title, $acf_prefilled_titlefilter
acf/field_group/render_additional_group_settings, $field_groupaction
acf/field_group/render_additional_location_settings, $field_groupaction
acf/field_group/render_additional_presentation_settings, $field_groupaction
acf/field_group/render_field_settings_tab/{$tab_key}, $fieldaction
acf/field_group/render_field_settings_tab/{$tab_key}/type={$field[type]}, $fieldaction
acf/field_group/render_field_settings_tab/{$tab}/type={$field[type]}, $fieldaction
acf/field_group/render_group_settings_tab/ . $tab_key, $field_groupaction
acf/field_wrapper_attributes, $wrapper, $fieldfilter
acf/fields/google_map/api, $apifilter
acf/fields/icon_picker/ . $tab_name . /icons, array(filter
acf/fields/icon_picker/dashicons, $dashiconsfilter
acf/fields/icon_picker/tab/ . $name, $fieldaction
acf/fields/icon_picker/tabs, $tabsfilter
acf/fields/max_appended_choices, 1000, $field, $post_idfilter
acf/fields/oembed/allow_discovery, current_user_can( edit_postsfilter
acf/fields/page_link/query, $args, $field, $options[post_id]filter
acf/fields/page_link/query/key= . $field[key], $args, $field, $options[post_id]filter
acf/fields/page_link/query/name= . $field[name], $args, $field, $options[post_id]filter
acf/fields/page_link/result, $title, $post, $field, $post_idfilter
acf/fields/page_link/result/key= . $field[key], $title, $post, $field, $post_idfilter
acf/fields/page_link/result/name= . $field[_name], $title, $post, $field, $post_idfilter
acf/fields/post_object/query, $args, $field, $options[post_id]filter
acf/fields/post_object/query/key= . $field[key], $args, $field, $options[post_id]filter
acf/fields/post_object/query/name= . $field[name], $args, $field, $options[post_id]filter
acf/fields/post_object/result, $title, $post, $field, $post_idfilter
acf/fields/post_object/result/key= . $field[key], $title, $post, $field, $post_idfilter
acf/fields/post_object/result/name= . $field[_name], $title, $post, $field, $post_idfilter
acf/fields/relationship/query, $args, $field, $options[post_id]filter
acf/fields/relationship/query/key= . $field[key], $args, $field, $options[post_id]filter
acf/fields/relationship/query/name= . $field[name], $args, $field, $options[post_id]filter
acf/fields/relationship/result, $title, $post, $field, $post_idfilter
acf/fields/relationship/result/key= . $field[key], $title, $post, $field, $post_idfilter
acf/fields/relationship/result/name= . $field[_name], $title, $post, $field, $post_idfilter
acf/fields/select/query, array(filter
acf/fields/select/query/key= . $options[field_key], $shortcut, $optionsfilter
acf/fields/taxonomy/query, $args, $field, $options[post_id]filter
acf/fields/taxonomy/result, $title, $term, $field, $post_idfilter
acf/fields/taxonomy/wp_list_categories, $args, $fieldfilter
acf/fields/taxonomy/wp_list_categories/key= . $field[key], $args, $fieldfilter
acf/fields/taxonomy/wp_list_categories/name= . $field[_name], $args, $fieldfilter
acf/fields/user/query, $args, $query->field, $query->post_idfilter
acf/fields/user/result, $item[text], $user, $field, $post_idfilter
acf/fields/user/result, $item[text], $user, $query->field, $query->post_idfilter
acf/fields/user/search_columns, $columns, $search, $WP_User_Query, $query->fieldfilter
acf/fields/wysiwyg/toolbars, $toolbarsfilter
acf/filesize, null, $attachmentfilter
acf/first_activatedaction
acf/form-post/skip_save, false, $post_id, $postfilter
acf/form/allowed_field_keys, $keys, $formfilter
acf/form/meta_ttl, DAY_IN_SECONDSfilter
acf/form_data, $dataaction
acf/format_value, $value, $post_id, $field, $escape_htmlfilter
acf/get_cache_key, $key, $keyfilter
acf/get_field_count, count( $raw_fieldsfilter
acf/get_field_group_style, $style, $field_groupfilter
acf/get_field_group_title, esc_html( $titlefilter
acf/get_field_label, $label, $field, $contextfilter
acf/get_field_types, $groupsfilter
acf/get_image_sizes, $sizesfilter
acf/get_invalid_field_value, $field, __FUNCTION__action
acf/get_locale, $localefilter
acf/get_object_type, $object, $object_type, $object_subtypefilter
acf/get_post_id_info, $info, $post_idfilter
acf/get_post_stati, $post_statuses, $argsfilter
acf/get_post_types, $post_types, $argsfilter
acf/get_sub_field, $sub_field, $id, $fieldfilter
acf/get_taxonomies, $taxonomies, $argsfilter
acf/import_{$this->hook_name}, $postaction
acf/in_admin_headeraction
acf/include_admin_toolsaction
acf/include_field_types, ACF_FIELD_API_VERSIONaction
acf/include_fields, ACF_FIELD_API_VERSIONaction
acf/include_location_rules, ACF_FIELD_API_VERSIONaction
acf/include_post_types, ACF_MAJOR_VERSIONaction
acf/include_taxonomies, ACF_MAJOR_VERSIONaction
acf/init, ACF_MAJOR_VERSIONaction
acf/init_internal_post_typesaction
acf/input/admin_enqueue_scriptsaction
acf/input/admin_footeraction
acf/input/admin_headaction
acf/input/admin_l10n, array(filter
acf/input/admin_print_footer_scriptsaction
acf/input/admin_print_scriptsaction
acf/input/form_data, $dataaction
acf/input/meta_box_priority, $priority, $field_groupfilter
acf/internal_post_type/admin_body_classes, $classes, $this->post_typefilter
acf/internal_post_type/current_screen, $this->post_typeaction
acf/internal_post_type_list/admin_body_classes, $classes, $this->post_typefilter
acf/internal_post_type_list/current_screen, $this->post_typeaction
acf/is_field_key, false, $idfilter
acf/is_{$this->hook_name}_key, false, $id, $this->post_typefilter
acf/json/eof_newline, PHP_EOLfilter
acf/json/load_paths, $pathsfilter
acf/json/save_file_name, $key . .json, $post, $load_pathfilter
acf/json/save_paths, $paths, $postfilter
acf/load_attachment, $response, $attachment, $metafilter
acf/load_field, $fieldfilter
acf/load_fields, $fields, $parentfilter
acf/load_meta, $meta, $post_idfilter
acf/load_reference, $reference, $field_name, $post_idfilter
acf/load_value, $value, $post_id, $fieldfilter
acf/load_{$this->hook_name_plural}, $posts, $this->post_typefilter
acf/load_{$this->hook_name}, $postfilter
acf/localized_field_categories, $categories_i18nfilter
acf/location/match_rule, $result, $rule, $screen, $field_groupfilter
acf/location/match_rule/type={$rule[param]}, $result, $rule, $screen, $field_groupfilter
acf/location/rule_match, $result, $rule, $screen, $field_groupfilter
acf/location/rule_match/{$rule[param]}, $result, $rule, $screen, $field_groupfilter
acf/location/rule_operators, $operators, $rulefilter
acf/location/rule_operators/type={$rule[param]}, $operators, $rulefilter
acf/location/rule_operators/{$rule[param]}, $operators, $rulefilter
acf/location/rule_types, $typesfilter
acf/location/rule_values, $values, $rulefilter
acf/location/rule_values/type={$rule[param]}, $values, $rulefilter
acf/location/rule_values/{$rule[param]}, $values, $rulefilter
acf/location/screen, $screen, $deprecatedfilter
acf/location/validate_rule, $rulefilter
acf/location/validate_rule/type={$rule[param]}, $rulefilter
acf/post_type/additional_settings_tabs, array(filter
acf/post_type/admin_enqueue_scriptsaction
acf/post_type/admin_footeraction
acf/post_type/admin_headaction
acf/post_type/admin_l10n, $l10nfilter
acf/post_type/available_supports, $acf_available_supports, $acf_post_typefilter
acf/post_type/basic_settings, $acf_post_typeaction
acf/post_type/form_data, $argsaction
acf/post_type/prevent_access_to_wp_functions_in_meta_box_cb, truefilter
acf/post_type/registration_args, $args, $postfilter
acf/post_type/render_settings_tab/{$tab_key}, $acf_post_typeaction
acf/pre_delete_metadata, null, $post_id, $field[name], $hiddenfilter
acf/pre_delete_metadata, null, $post_id, $name, $hiddenfilter
acf/pre_format_value, null, $value, $post_id, $field, $escape_htmlfilter
acf/pre_load_attachment, null, $attachmentfilter
acf/pre_load_meta, null, $post_idfilter
acf/pre_load_metadata, null, $post_id, $field[name], $hiddenfilter
acf/pre_load_metadata, null, $post_id, $field_name, truefilter
acf/pre_load_metadata, null, $post_id, $name, $hiddenfilter
acf/pre_load_post_id, null, $post_idfilter
acf/pre_load_reference, null, $field_name, $post_idfilter
acf/pre_load_value, null, $post_id, $fieldfilter
acf/pre_render_field, $field, $post_idfilter
acf/pre_render_fields, $fields, $post_idfilter
acf/pre_save_json_file, $postfilter
acf/pre_save_post, $post_id, $formfilter
acf/pre_submit_form, $formfilter
acf/pre_update_metadata, null, $post_id, $field[name], $value, $hiddenfilter
acf/pre_update_metadata, null, $post_id, $name, $value, $hiddenfilter
acf/pre_update_value, null, $value, $post_id, $fieldfilter
acf/pre_update_{$this->hook_name}, $postfilter
acf/prepare_field, $fieldfilter
acf/prepare_field_for_export, $fieldfilter
acf/prepare_field_for_import, $fieldfilter
acf/prepare_fields_for_import, $fieldsfilter
acf/prepare_{$this->hook_name}_for_export, $postfilter
acf/prepare_{$this->hook_name}_for_import, $postfilter
acf/prevent_access_to_unknown_fields, falsefilter
acf/preview_value, $value, $post_id, $fieldfilter
acf/register_scripts, $version, $suffixaction
acf/registered_location_type, $name, $location_typeaction
acf/removed_unsafe_html, __FUNCTION__, $atts[field], $field, $post_idaction
acf/removed_unsafe_html, __FUNCTION__, $field_name, $field, falseaction
acf/removed_unsafe_html, __FUNCTION__, $selector, $field, $post_idaction
acf/render_field, $fieldaction
acf/render_field_group_settings, $field_groupaction
acf/render_field_settings, $fieldaction
acf/render_field_settings/type={$field[type]}, $fieldaction
acf/render_field_{$tab_key}_settings, $fieldaction
acf/render_field_{$tab_key}_settings/type={$field[type]}, $fieldaction
acf/render_field_{$tab}_settings, $fieldaction
acf/render_field_{$tab}_settings/type={$field[type]}, $fieldaction
acf/render_fields, $fields, $post_idaction
acf/rest/format_value_for_rest, $value_formatted, $post_id, $field, $value, $formatfilter
acf/rest/get_field_links, $links, $post_id, $field, $valuefilter
acf/rest/get_field_schema, $schema, $fieldfilter
acf/rest/get_fields, $fields, $resource, $http_methodfilter
acf/revisions/skip_legacy_metabox_handling, falsefilter
acf/save_post, $post_idaction
acf/schema/auto_add_author, true, $post, $post_typefilter
acf/schema/auto_add_image, true, $post, $post_typefilter
acf/schema/data, $jsonld_data, $post, $post_typefilter
acf/schema/debug, falsefilter
acf/schema/disable_output, false, $jsonld_datafilter
acf/schema/enabled_post_types, $enabled_post_typesfilter
acf/schema/format_value, $formatted_value, $value, $field_object, $field_type_namefilter
acf/schema/format_value/name={$field_name}, $formatted_value, $value, $field_objectfilter
acf/schema/format_value/pre, null, $value, $field_object, $field_type_namefilter
acf/schema/format_value/pre/name={$field_name}, $pre_value, $value, $field_objectfilter
acf/schema/format_value/pre/type={$field_type_name}, $pre_value, $value, $field_objectfilter
acf/schema/format_value/type={$field_type_name}, $formatted_value, $value, $field_objectfilter
acf/schema/output_format_choices, $choices, $field_type, $propertyfilter
acf/schema/post_field_objects, null, $post, $post_typefilter
acf/schema/post_field_objects/post_type= . $post_type, $field_objects, $postfilter
acf/schema/render_script, $jsonld_dataaction
acf/schema/schema_priority_types, $priority_types, $context_idfilter
acf/schema/schema_properties, $roles, $field_typefilter
acf/schema/schema_types, $typesfilter
acf/settings/{$name}, $valuefilter
acf/shortcode/allow_in_block_themes_outside_content, falsefilter
acf/shortcode/allow_unsafe_html, false, $atts, $field_type, $fieldfilter
acf/shortcode/disabled_message, esc_html__( [The ACF shortcode is disabled on this site], acffilter
acf/shortcode/field_not_allowed_message, [ . esc_html__( The requested ACF field is not allowed to be output in bindings or the ACF Shortcode., acffilter
acf/shortcode/field_not_supported_message, [ . esc_html__( The requested ACF field type does not support output in bindings or the ACF Shortcode., acffilter
acf/shortcode/post_not_public_message, esc_html__( [The ACF shortcode cannot display fields from non-public posts], acffilter
acf/shortcode/prevent_access, false, $atts, $decoded_post_id[id], $decoded_post_id[type], $field_type, $fieldfilter
acf/shortcode/prevent_access_to_fields_on_non_public_posts, truefilter
acf/shortcode/preview_capability, publish_postsfilter
acf/shortcode/preview_capability_message, esc_html__( [ACF shortcode value disabled for preview], acffilter
acf/site_health/update_source, __( wordpress.org, acffilter
acf/slugify, $slug, $raw, $gluefilter
acf/submit_form, $form, $post_idaction
acf/taxonomy/additional_settings_tabs, array(filter
acf/taxonomy/admin_enqueue_scriptsaction
acf/taxonomy/admin_footeraction
acf/taxonomy/admin_headaction
acf/taxonomy/admin_l10n, $l10nfilter
acf/taxonomy/basic_settings, $acf_taxonomyaction
acf/taxonomy/form_data, $argsaction
acf/taxonomy/prevent_access_to_wp_functions_in_meta_box_cb, truefilter
acf/taxonomy/registration_args, $args, $postfilter
acf/taxonomy/render_settings_tab/{$tab_key}, $acf_taxonomyaction
acf/the_field/allow_unsafe_html, false, $field_name, sub_field, $field_type, $fieldfilter
acf/the_field/allow_unsafe_html, false, $selector, $post_id, $field_type, $fieldfilter
acf/translate_field, $fieldfilter
acf/translate_{$this->hook_name}, $postfilter
acf/trash_field, $fieldaction
acf/trash_{$this->hook_name}, $postaction
acf/ui_options_page/additional_settings_tabs, array(filter
acf/untrash_field, $fieldaction
acf/untrash_{$this->hook_name}, $postaction
acf/update_500_field, $fieldaction
acf/update_field, $fieldfilter
acf/update_field_group, $new_field_groupaction
acf/update_field_group, $old_field_groupaction
acf/update_value, $value, $post_id, $field, $valuefilter
acf/update_{$this->hook_name}, $postaction
acf/update_{$this->hook_name}_active_status, $updated_postaction
acf/updated_field, $fieldaction
acf/upgrade_500action
acf/upgrade_500_field_group, $nfg, $ofgaction
acf/upgrade_550action
acf/upgrade_550_taxonomy, $taxonomyaction
acf/upgrade_550_taxonomy_term, $term_idaction
acf/upgrade_550_termmetaaction
acf/upload_prefilter, $errors, $file, $fieldfilter
acf/upload_prefilter/key={$field[key]}, $errors, $file, $fieldfilter
acf/upload_prefilter/name={$field[_name]}, $errors, $file, $fieldfilter
acf/upload_prefilter/type={$field[type]}, $errors, $file, $fieldfilter
acf/validate_attachment, $errors, $file, $attachment, $field, $contextfilter
acf/validate_attachment/key={$field[key]}, $errors, $file, $attachment, $field, $contextfilter
acf/validate_attachment/name={$field[_name]}, $errors, $file, $attachment, $field, $contextfilter
acf/validate_attachment/type={$field[type]}, $errors, $file, $attachment, $field, $contextfilter
acf/validate_field, $fieldfilter
acf/validate_form, $argsfilter
acf/validate_post_id, $post_id, $_post_idfilter
acf/validate_rest_value/type= . $field[type], true, $field_value, $fieldfilter
acf/validate_save_postaction
acf/validate_setting, $namefilter
acf/validate_value, $valid, $value, $field, $inputfilter
acf/validate_value/key={$field[key]}, $valid, $value, $field, $inputfilter
acf/validate_value/name={$field[_name]}, $valid, $value, $field, $inputfilter
acf/validate_value/type={$field[type]}, $valid, $value, $field, $inputfilter
acf/validate_{$this->hook_name}, $postfilter
acf/verify_ajaxaction
acf/{$this->hook_name}/ajax_validate_values, $valid, $_POST[acf_post_type]filter
acf/{$this->hook_name}/ajax_validate_values, $valid, $_POST[acf_taxonomy]filter
acf_the_content, $valuefilter
acf_the_editor_content, $field[value], $default_editorfilter
default_page_template_title, __( Default Template, acffilter
determine_locale, $determined_localefilter
enter_title_here, __( Add titlefilter
mce_buttons, $mce_buttons, $editor_idfilter
mce_buttons_2, $mce_buttons_2, $editor_idfilter
mce_buttons_3, array(filter
mce_buttons_4, array(filter
media_buttons, $idaction
plugin_locale, acf_get_locale(filter
pre_determine_locale, nullfilter
teeny_mce_buttons, $teeny_mce_buttons, $editor_idfilter
wp_create_file_in_uploads, $file, $idaction
 

list of hooks used ( in add_action(), add_filter() )