Advanced Custom Fields (ACF®) 6.8.11 has 95 actions and 255 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Advanced Custom Fields (ACF®) fires an action
add_action( 'acf/add_meta_boxes', function( $post_type, $post, $field_groups ) {
// Your code runs here.
}, 10, 3 );
// Change a value Advanced Custom Fields (ACF®) is about to use
add_filter( 'acf/fields/allow_append_choices', function( $value, $field, $post_id ) {
// Change $value here.
return $value;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters the post array to translate strings. */ apply_filters( "acf/translate_{$this->hook_name}", $post ); -
/** * Fires immediately after an ACF post has been deleted. */ do_action( "acf/delete_{$this->hook_name}", $post ); -
/** * Fires immediately after an ACF post has been duplicated. */ do_action( "acf/duplicate_{$this->hook_name}", $post ); -
/** * This filter is documented in includes/fields/class-acf-field-select.php */ apply_filters( 'acf/fields/allow_append_choices', true, $field, $post_id ); -
/** * This filter is documented in includes/fields/class-acf-field-select.php */ apply_filters( 'acf/fields/max_appended_choices', 1000, $field, $post_id ); -
acf/fields/user/result
filter/** * Filters the result text. */ apply_filters( 'acf/fields/user/result', $item['text'], $user, $field, $post_id ); -
/** * Fires immediately after an ACF post has been imported. */ do_action( "acf/import_{$this->hook_name}", $post ); -
acf/is_image_field
filter/** * Filters whether the supplied field should be treated as an image field. */ apply_filters( 'acf/is_image_field', false, $field ); -
acf/load_{$this->hook_name}
filter/** * Filters the post array after it has been loaded. */ apply_filters( "acf/load_{$this->hook_name}", $post ); -
/** * Filters the ACF post array before being returned to the export tool. */ apply_filters( "acf/prepare_{$this->hook_name}_for_export", $post ); -
/** * Filters the ACF post array before being returned to the import tool. */ apply_filters( "acf/prepare_{$this->hook_name}_for_import", $post ); -
acf/trash_{$this->hook_name}
action/** * Fires immediately after a field_group has been trashed. */ do_action( "acf/trash_{$this->hook_name}", $post ); -
/** * Fires immediately after an ACF post has been untrashed. */ do_action( "acf/untrash_{$this->hook_name}", $post ); -
/** * Filters the ACF post array to validate settings. */ apply_filters( "acf/validate_{$this->hook_name}", $post ); -
acf/acf_get_posts/args
filter/** * Filters the args used in `acf_get_posts()` that are passed to `get_posts()`. */ apply_filters( 'acf/acf_get_posts/args', $args ); -
acf/acf_get_posts/results
filter/** * Filters the results found in the `acf_get_posts()` function. */ apply_filters( 'acf/acf_get_posts/results', $posts ); -
acf/add_meta_boxes
action/** * Fires after metaboxes have been added. */ do_action( 'acf/add_meta_boxes', $post_type, $post, $field_groups ); -
acf/admin_enqueue_scripts
action/** * Fires during "admin_enqueue_scripts" when ACF scripts are enqueued. */ do_action( 'acf/admin_enqueue_scripts' ); -
acf/admin_head
action/** * Fires during "admin_head" when ACF scripts are enqueued. */ do_action( 'acf/admin_head' ); -
/** * Fires when printing uploader scripts. */ do_action( 'acf/admin_print_uploader_scripts' ); -
/** * Filters whether the ACF Free email opt-in banner should be shown. */ apply_filters( 'acf/admin/show_email_opt_in_banner', $default ); -
acf/admin/toolbar
filter/** * Filters the admin navigation more items. */ apply_filters( 'acf/admin/toolbar', $more_items ); -
/** * Filters the check_screen response, allowing extensions to attach extra data * tied to the screen. */ apply_filters( 'acf/ajax/check_screen/response', $response, $field_groups, $args ); -
acf/ajax/query_users/args
filter/** * Filters the query args. */ apply_filters( 'acf/ajax/query_users/args', $args, $request, $this ); -
acf/ajax/query_users/init
action/** * Fires when a request is made. */ do_action( 'acf/ajax/query_users/init', $request, $this ); -
acf/ajax/query_users/result
filter/** * Filters the result item. */ apply_filters( 'acf/ajax/query_users/result', $item, $user, $this ); -
acf/ajax/query_users/results
filter/** * Filters the query results. */ apply_filters( 'acf/ajax/query_users/results', $results, $args, $this ); -
/** * Filters the column names to be searched. */ apply_filters( 'acf/ajax/query_users/search_columns', $columns, $search, $WP_User_Query, $this ); -
acf/allow_unfiltered_html
filter/** * Filters whether the current user is allowed to save unfiltered HTML. */ apply_filters( 'acf/allow_unfiltered_html', $allow_unfiltered_html ); -
/** * Filters whether a bidirectional update may add or remove a reference on a * target. */ apply_filters( 'acf/bidirectional/can_update_target', $can_update, $target_id, $post_id, $field, $action ); -
acf/bindings/allow_user_data
filter/** * Filters whether the [acf] shortcode and ACF block bindings may output full * User field data. */ apply_filters( 'acf/bindings/allow_user_data', false, $field, $post_id, $context ); -
acf/clone_field
filter/** * Filters the $field array when it is being cloned. */ apply_filters( 'acf/clone_field', $field, $clone_field ); -
/** * Filters the choices available for a conditional logic rule. */ apply_filters( 'acf/conditional_logic/choices', array( $rule['value'] => $rule['value'] ), $conditional_field, $rule['value'] ); -
/** * Filters whether or not to connect the attachment. */ apply_filters( 'acf/connect_attachment_to_post', true, $attachment_id, $post_id ); -
acf/decode_post_id
filter/** * Filters the decoded post_id information. */ apply_filters( 'acf/decode_post_id', compact( 'type', 'id' ), $post_id ); -
acf/delete_field
action/** * Fires immediately after a field has been deleted. */ do_action( 'acf/delete_field', $field ); -
acf/delete_value
action/** * Fires before a value is deleted. */ do_action( 'acf/delete_value', $post_id, $field['name'], $field ); -
acf/duplicate_field
filter/** * Filters the $field array after it has been duplicated. */ apply_filters( 'acf/duplicate_field', $field ); -
acf/enqueue_uploader
action/** * Fires when enqueuing the uploader. */ do_action( 'acf/enqueue_uploader' ); -
/** * Filter for determining if a new field group should render with a text field * automatically */ apply_filters( 'acf/field_group/auto_add_first_field', true ); -
/** * Sets a default title to be prefilled (e.g. "Movies Fields") for a post type * or taxonomy. */ apply_filters( 'acf/field_group/prefill_title', $acf_prefilled_title ); -
acf/field_wrapper_attributes
filter/** * Filters the $wrapper array before rendering. */ apply_filters( 'acf/field_wrapper_attributes', $wrapper, $field ); -
acf/fields/icon_picker/tabs
filter/** * Allows filtering the tabs used by the icon picker. */ apply_filters( 'acf/fields/icon_picker/tabs', $tabs ); -
/** * Filters whether URL discovery is permitted on the AJAX oEmbed preview path. */ apply_filters( 'acf/fields/oembed/allow_discovery', current_user_can( 'edit_posts' ), $field ); -
/** * Filters whether a relational field's formatted value leaves out posts that * can't be read. */ apply_filters( 'acf/fields/relational/hide_unreadable_posts', $hide, $post_id, $field ); -
/** * Filters the statuses of other users' posts that relational field searches * hide from the current user. */ apply_filters( 'acf/fields/relational/unreadable_post_statuses', array_values( $statuses ), $post_type ); -
acf/fields/taxonomy/result
filter/** * Filters the term title. */ apply_filters( 'acf/fields/taxonomy/result', $title, $term, $field, $post_id ); -
acf/fields/user/query
filter/** * Filters the query args. */ apply_filters( 'acf/fields/user/query', $args, $query->field, $query->post_id ); -
/** * Filters the column names to be searched. */ apply_filters( 'acf/fields/user/search_columns', $columns, $search, $WP_User_Query, $query->field ); -
acf/filesize
filter/** * Allows shortcutting our ACF's `filesize` call to prevent us making * filesystem calls. Mostly useful for third party plugins which may offload * media to other services, and filesize calls will induce a remote download. */ apply_filters( 'acf/filesize', null, $attachment ); -
acf/form_data
action/** * Fires within the #acf-form-data element to add extra HTML. */ do_action( 'acf/form_data', $data ); -
acf/form-post/skip_save
filter/** * Filters whether ACF_Form_Post::save_post() should bail without verifying the * nonce or running acf_save_post(). Allows extensions to short-circuit the * save when another handler is responsible for persisting field values for the * current request. */ apply_filters( 'acf/form-post/skip_save', false, $post_id, $post ); -
acf/form/allowed_field_keys
filter/** * Filters the list of $_POST['acf'] keys a front-end form submission is * allowed to save. */ apply_filters( 'acf/form/allowed_field_keys', $keys, $form ); -
acf/form/meta_ttl
filter/** * Filters how long a `_acf_form_meta[]` payload remains valid after the page * that emitted it was rendered. */ apply_filters( 'acf/form/meta_ttl', DAY_IN_SECONDS ); -
acf/form/primary_ttl
filter/** * Filters how long a primary `_acf_form` bearer token remains valid after the * page that emitted it was rendered. */ apply_filters( 'acf/form/primary_ttl', DAY_IN_SECONDS ); -
acf/format_value
filter/** * Filters the $value for use in a template function. */ apply_filters( 'acf/format_value', $value, $post_id, $field, $escape_html ); -
acf/get_cache_key
filter/** * Filters the cache key. */ apply_filters( 'acf/get_cache_key', $key, $key ); -
acf/get_field_count
filter/** * Filters the counted number of fields. */ apply_filters( 'acf/get_field_count', count( $raw_fields ), $parent ); -
acf/get_field_group_style
filter/** * Filters the generated CSS styles. */ apply_filters( 'acf/get_field_group_style', $style, $field_group ); -
acf/get_field_label
filter/** * Filters the field's label HTML. */ apply_filters( 'acf/get_field_label', $label, $field, $context ); -
acf/get_image_mime_types
filter/** * Filters the image MIME types allowed for image and gallery fields. */ apply_filters( 'acf/get_image_mime_types', $image_mimes ); -
acf/get_locale
filter/** * Filters the determined local. */ apply_filters( 'acf/get_locale', $locale ); -
acf/get_object_type
filter/** * Filters the object type. */ apply_filters( 'acf/get_object_type', $object, $object_type, $object_subtype ); -
acf/get_sub_field
filter/** * Filters the $sub_field found. */ apply_filters( 'acf/get_sub_field', $sub_field, $id, $field ); -
acf/include_field_types
action/** * Fires after field types have been included. */ do_action( 'acf/include_field_types', ACF_FIELD_API_VERSION ); -
acf/include_fields
action/** * Fires during initialization. Used to add local fields. */ do_action( 'acf/include_fields', ACF_FIELD_API_VERSION ); -
acf/include_location_rules
action/** * Fires after location types have been included. */ do_action( 'acf/include_location_rules', ACF_FIELD_API_VERSION ); -
acf/include_post_types
action/** * Fires during initialization. Used to add local post types. */ do_action( 'acf/include_post_types', ACF_MAJOR_VERSION ); -
acf/include_taxonomies
action/** * Fires during initialization. Used to add local taxonomies. */ do_action( 'acf/include_taxonomies', ACF_MAJOR_VERSION ); -
acf/init
action/** * Fires after ACF is completely "initialized". */ do_action( 'acf/init', ACF_MAJOR_VERSION ); -
/** * Fires during "admin_enqueue_scripts" when ACF scripts are enqueued. */ do_action( 'acf/input/admin_enqueue_scripts' ); -
acf/input/admin_head
action/** * Fires during "admin_head" when ACF scripts are enqueued. */ do_action( 'acf/input/admin_head' ); -
acf/input/admin_l10n
filter/** * Filters an empty array for compat l10n data. */ apply_filters( 'acf/input/admin_l10n', array() ); -
acf/input/meta_box_priority
filter/** * Filters the metabox priority. */ apply_filters( 'acf/input/meta_box_priority', $priority, $field_group ); -
/** * Filters whether the $id is an ACF post key. */ apply_filters( "acf/is_{$this->hook_name}_key", false, $id, $this->post_type ); -
acf/is_field_key
filter/** * Filters whether the $id is a field key. */ apply_filters( 'acf/is_field_key', false, $id ); -
acf/is_trusted_save_context
filter/** * Filters whether ACF is saving from a trusted context. Values saved from a * trusted context aren't permission checked, for example when bidirectional * fields update the other side. */ apply_filters( 'acf/is_trusted_save_context', $trusted ); -
acf/json/load_paths
filter/** * Filters the path(s) used to load JSON from. */ apply_filters( 'acf/json/load_paths', $paths ); -
acf/json/save_file_name
filter/** * Filters the filename used when saving JSON. */ apply_filters( 'acf/json/save_file_name', $key . '.json', $post, $load_path ); -
acf/json/save_paths
filter/** * Filters the paths used to save JSON. */ apply_filters( 'acf/json/save_paths', $paths, $post ); -
/** * Filters the posts array. */ apply_filters( "acf/load_{$this->hook_name_plural}", $posts, $this->post_type ); -
acf/load_attachment
filter/** * Filters the attachment $response after it has been loaded. */ apply_filters( 'acf/load_attachment', $response, $attachment, $meta ); -
acf/load_field
filter/** * Filters the $field array after it has been loaded. */ apply_filters( 'acf/load_field', $field ); -
acf/load_fields
filter/** * Filters the $fields array. */ apply_filters( 'acf/load_fields', $fields, $parent ); -
acf/load_meta
filter/** * Filters the $meta array after it has been loaded. */ apply_filters( 'acf/load_meta', $meta, $post_id ); -
acf/load_reference
filter/** * Filters the reference value. */ apply_filters( 'acf/load_reference', $reference, $field_name, $post_id ); -
acf/load_value
filter/** * Filters the $value after it has been loaded. */ apply_filters( 'acf/load_value', $value, $post_id, $field ); -
/** * Filters the result. */ apply_filters( "acf/location/match_rule/type={$rule['param']}", $result, $rule, $screen, $field_group ); -
/** * Filters the location rule operators. */ apply_filters( "acf/location/rule_operators/type={$rule['param']}", $operators, $rule ); -
acf/location/rule_types
filter/** * Filters the location rule types. */ apply_filters( 'acf/location/rule_types', $types ); -
/** * Filters the location rule values. */ apply_filters( "acf/location/rule_values/type={$rule['param']}", $values, $rule ); -
acf/location/screen
filter/** * Filters the result. */ apply_filters( 'acf/location/screen', $screen, $deprecated ); -
/** * Filters the location rule to ensure is valid. */ apply_filters( "acf/location/validate_rule/type={$rule['param']}", $rule ); -
acf/pre_render_fields
filter/** * Filters the $fields array before they are rendered. */ apply_filters( 'acf/pre_render_fields', $fields, $post_id ); -
acf/pre_save_json_file
filter/** * Filters the ACF post before saving it to the file. */ apply_filters( 'acf/pre_save_json_file', $post ); -
/** * Fires before updating an ACF post in the database. */ apply_filters( "acf/pre_update_{$this->hook_name}", $post ); -
acf/prepare_field
filter/** * Filters the $field array. */ apply_filters( 'acf/prepare_field', $field ); -
acf/prepare_field_for_export
filter/** * Filters the $field array before being returned to the export tool. */ apply_filters( 'acf/prepare_field_for_export', $field ); -
acf/prepare_field_for_import
filter/** * Filters the $field array before being returned to the import tool. */ apply_filters( 'acf/prepare_field_for_import', $field ); -
/** * Filters the $fields array before being returned to the import tool. */ apply_filters( 'acf/prepare_fields_for_import', $fields ); -
acf/preview_value
filter/** * Filters the $value before used in HTML. */ apply_filters( 'acf/preview_value', $value, $post_id, $field ); -
acf/register_scripts
action/** * Fires after core scripts and styles have been registered. */ do_action( 'acf/register_scripts', $version, $suffix ); -
acf/registered_location_type
action/** * Fires after a location type is registered. */ do_action( 'acf/registered_location_type', $name, $location_type ); -
acf/render_field
action/** * Fires when rendering a field. */ do_action( 'acf/render_field', $field ); -
acf/render_fields
action/** * Fires after fields have been rendered. */ do_action( 'acf/render_fields', $fields, $post_id ); -
/** * Filters whether an expanded reference target should be exposed to the * current caller when `?acf_format=standard` is in play. Return true to * re-expose a target the default cap check would reduce. */ apply_filters( 'acf/rest/expose_reference_target', $exposable, $target_id, $field ); -
/** * Filter the formatted value for a given field. */ apply_filters( 'acf/rest/format_value_for_rest', $value_formatted, $post_id, $field, $value, $format ); -
acf/rest/get_field_links
filter/** * Filter the REST API links for a given field. */ apply_filters( 'acf/rest/get_field_links', $links, $post_id, $field, $value ); -
acf/rest/get_field_schema
filter/** * Filter the REST API schema for a given field. */ apply_filters( 'acf/rest/get_field_schema', $schema, $field ); -
acf/rest/get_fields
filter/** * Filter the fields available to the REST API. */ apply_filters( 'acf/rest/get_fields', $fields, $resource, $http_method ); -
acf/schema/auto_add_author
filter/** * Filter whether to automatically add author to JSON-LD output */ apply_filters( 'acf/schema/auto_add_author', true, $post, $post_type ); -
acf/schema/auto_add_image
filter/** * Filter whether to automatically add featured image to JSON-LD output */ apply_filters( 'acf/schema/auto_add_image', true, $post, $post_type ); -
acf/schema/data
filter/** * Filters the JSON-LD data before output for a post. */ apply_filters( 'acf/schema/data', $jsonld_data, $post, $post_type ); -
acf/schema/debug
filter/** * Filters whether to output debug comments in HTML */ apply_filters( 'acf/schema/debug', false ); -
acf/schema/disable_output
filter/** * Filter to disable ACF's default JSON-LD output */ apply_filters( 'acf/schema/disable_output', false, $jsonld_data ); -
/** * Filters the list of post types that have JSON-LD output enabled. */ apply_filters( 'acf/schema/enabled_post_types', $enabled_post_types ); -
acf/schema/format_value
filter/** * Filter the formatted value before returning */ apply_filters( 'acf/schema/format_value', $formatted_value, $value, $field_object, $field_type_name ); -
acf/schema/format_value/pre
filter/** * Filter to bypass the default formatting logic entirely */ apply_filters( 'acf/schema/format_value/pre', null, $value, $field_object, $field_type_name ); -
/** * Filter the available output format choices. */ apply_filters( 'acf/schema/output_format_choices', $choices, $field_type, $property ); -
/** * Filters the field objects before retrieval, allowing posts to provide custom * data. */ apply_filters( 'acf/schema/post_field_objects', null, $post, $post_type ); -
/** * Filters the field objects for a specific post type. */ apply_filters( "acf/schema/post_field_objects/post_type={$post_type}", $field_objects, $post ); -
acf/schema/render_script
action/** * Action fired before rendering JSON-LD script tag */ do_action( 'acf/schema/render_script', $jsonld_data ); -
/** * Filter the priority Schema.org types */ apply_filters( 'acf/schema/schema_priority_types', $priority_types, $context_id ); -
acf/schema/schema_properties
filter/** * Filter the available Schema.org properties. */ apply_filters( 'acf/schema/schema_properties', $roles, $field_type ); -
acf/schema/schema_types
filter/** * Filter the available Schema.org types */ apply_filters( 'acf/schema/schema_types', $types ); -
acf/slugify
filter/** * Filters the slug created by acf_slugify(). */ apply_filters( 'acf/slugify', $slug, $raw, $glue ); -
acf/translate_field
filter/** * Filters the $field array to translate strings. */ apply_filters( 'acf/translate_field', $field ); -
acf/trash_field
action/** * Fires immediately after a field has been trashed. */ do_action( 'acf/trash_field', $field ); -
acf/untrash_field
action/** * Fires immediately after a field has been trashed. */ do_action( 'acf/untrash_field', $field ); -
/** * Fires immediately after an ACF post has been updated. */ do_action( "acf/update_{$this->hook_name}", $post ); -
/** * Fires immediately after an ACF post has been made active/inactive. */ do_action( "acf/update_{$this->hook_name}_active_status", $updated_post ); -
acf/update_field
filter/** * Filters the $field array before it is updated. */ apply_filters( 'acf/update_field', $field ); -
acf/update_value
filter/** * Filters the $value before it is updated. */ apply_filters( 'acf/update_value', $value, $post_id, $field, $value ); -
acf/updated_field
action/** * Fires after a field has been updated, and the field cache has been cleaned. */ do_action( 'acf/updated_field', $field ); -
/** * Filters the errors for a file before it is uploaded to WordPress. */ apply_filters( "acf/upload_prefilter/type={$field['type']}", $errors, $file, $field ); -
acf/upload/generate_previews
filter/** * Filters whether a file uploaded through a basic uploader gets preview * images. */ apply_filters( 'acf/upload/generate_previews', current_user_can( 'upload_files' ), $file, $id ); -
acf/user_can_read_post
filter/** * Filters whether a user can read a post referenced by a relational field. */ apply_filters( 'acf/user_can_read_post', $can_read, $post, $field, $user ); -
/** * Filters the errors for a file before it is uploaded or displayed in the * media modal. */ apply_filters( "acf/validate_attachment/type={$field['type']}", $errors, $file, $attachment, $field, $context ); -
acf/validate_field
filter/** * Filters the $field array to validate settings. */ apply_filters( 'acf/validate_field', $field ); -
/** * Filters the error message used when an attachment is not a valid image. */ apply_filters( 'acf/validate_is_image_attachment/error_message', __( 'File must be a valid image.', 'acf' ), $field, $context, $file, $attachment ); -
/** * Filters the list of image MIME types that cannot be validated by * wp_get_image_mime(), which reads a binary magic number and only recognizes * raster formats. Vector / XML image types (e.g. SVG) always fail that check * by design and must be excluded from it. */ apply_filters( 'acf/validate_is_image_attachment/vector_mime_types', array( 'image/svg+xml' ) ); -
/** * Filters whether a value passed via REST is valid. */ apply_filters( "acf/validate_rest_value/type={$field['type']}", true, $field_value, $field ); -
/** * Filters whether the value is valid. */ apply_filters( "acf/validate_value/type={$field['type']}", $valid, $value, $field, $input ); -
determine_locale
filter/** * Filters the locale for the current request. */ apply_filters( 'determine_locale', $determined_locale ); -
plugin_locale
filter/** * Filters a plugin's locale. */ apply_filters( 'plugin_locale', acf_get_locale(), $domain ); -
pre_determine_locale
filter/** * Filters the locale for the current request prior to the default * determination process. */ apply_filters( 'pre_determine_locale', null ); -
wp_create_file_in_uploads
action/** * This action is documented in wp-admin/custom-header.php */ do_action( 'wp_create_file_in_uploads', $file, $id ); -
do_action( "acf/field_group/render_field_settings_tab/{$tab_key}", $field ); -
do_action( "acf/field_group/render_field_settings_tab/{$tab_key}/type={$field['type']}", $field ); -
do_action( "acf/render_field_{$tab_key}_settings", $field ); -
do_action( "acf/render_field_{$tab_key}_settings/type={$field['type']}", $field ); -
acf/pre_load_metadata
filterapply_filters( 'acf/pre_load_metadata', null, $post_id, $name, $hidden ); -
acf/removed_unsafe_html
actiondo_action( 'acf/removed_unsafe_html', __FUNCTION__, $selector, $field, $post_id ); -
apply_filters( "acf/{$this->hook_name}/ajax_validate_values", $valid, $_POST['acf_post_type'] ); -
apply_filters( 'acf/admin/prevent_escaped_html_notice', true ); -
apply_filters( 'acf/field_group/disable_field_settings_tabs', false ); -
apply_filters( 'acf/field_group/enable_field_browser', true ); -
acf/pre_delete_metadata
filterapply_filters( 'acf/pre_delete_metadata', null, $post_id, $name, $hidden ); -
acf/pre_update_metadata
filterapply_filters( 'acf/pre_update_metadata', null, $post_id, $name, $value, $hidden ); -
apply_filters( 'acf/prevent_access_to_unknown_fields', false ); -
do_action( "acf/render_field_settings/type={$field['type']}", $field ); -
apply_filters( 'acf/revisions/skip_legacy_metabox_handling', false ); -
apply_filters( 'acf/the_field/allow_unsafe_html', false, $selector, $post_id, $field_type, $field ); -
acf/update_field_group
actiondo_action( 'acf/update_field_group', $old_field_group ); -
default_page_template_title
filterapply_filters( 'default_page_template_title', __( 'Default Template', 'acf' ), 'meta-box' ); -
apply_filters_ref_array( "{$filter}/{$variation}={$value}", $args ); -
do_action_ref_array( "{$filter}/{$variation}={$value}", $args ); -
acf_the_content
filterapply_filters( 'acf_the_content', $value ); -
acf_the_editor_content
filterapply_filters( 'acf_the_editor_content', $field['value'], $default_editor ); -
acf/activated_pro
actiondo_action( 'acf/activated_pro' ); -
acf/admin_print_scripts
actiondo_action( 'acf/admin_print_scripts' ); -
apply_filters( 'acf/admin/acf_url_utm_parameters', array( 'utm_source' => $source, 'utm_medium' => $medium, 'utm_campaign' => $campaign, 'utm_content' => $content, ) ); -
apply_filters( 'acf/ajax/shortcode_capability', 'edit_posts' ); -
apply_filters( 'acf/bidirectional/supported_field_types_for_post', $valid_target_types, $object_type ); -
apply_filters( 'acf/bidirectional/supported_target_field_types', array( 'relationship', 'post_object', 'user', 'taxonomy' ) ); -
apply_filters( 'acf/bindings/field_not_allowed_message', '[' . esc_html__( 'The requested ACF field is not allowed to be output in bindings or the ACF Shortcode.', 'acf' ) . ']' ); -
apply_filters( 'acf/bindings/field_not_supported_message', '[' . esc_html__( 'The requested ACF field type does not support output in Block Bindings or the ACF shortcode.', 'acf' ) . ']' ); -
acf/blocks/binding_value
filterapply_filters( 'acf/blocks/binding_value', $value, $source_attrs, $block_instance, $attribute_name ); -
acf/compatibility/{$name}
filterapply_filters( "acf/compatibility/{$name}", false ); -
apply_filters( 'acf/current_user_can_edit_in_context', false, $post_id_info ); -
apply_filters( 'acf/current_user_can_edit_post', $user_can_edit, $post_id ); -
acf/enqueue_scripts
actiondo_action( 'acf/enqueue_scripts' ); -
apply_filters( 'acf/field_group/additional_field_settings_tabs', array() ); -
apply_filters( 'acf/field_group/additional_group_settings_tabs', array() ); -
do_action( 'acf/field_group/admin_enqueue_scripts' ); -
acf/field_group/admin_head
actiondo_action( 'acf/field_group/admin_head' ); -
acf/field_group/admin_l10n
filterapply_filters( 'acf/field_group/admin_l10n', $l10n ); -
apply_filters( 'acf/field_group/enable_field_type_select2', true ); -
acf/field_group/form_data
actiondo_action( 'acf/field_group/form_data', $args ); -
apply_filters( 'acf/field_group/list_table_classes', $classes, $css_class, $post_id ); -
do_action( 'acf/field_group/render_additional_group_settings', $field_group ); -
do_action( 'acf/field_group/render_additional_location_settings', $field_group ); -
do_action( 'acf/field_group/render_additional_presentation_settings', $field_group ); -
do_action( "acf/field_group/render_field_settings_tab/{$tab}/type={$field['type']}", $field ); -
do_action( "acf/field_group/render_group_settings_tab/{$tab_key}", $field_group ); -
acf/fields/google_map/api
filterapply_filters( 'acf/fields/google_map/api', $api ); -
apply_filters( "acf/fields/icon_picker/{$tab_name}/icons", array(), $field ); -
apply_filters( 'acf/fields/icon_picker/dashicons', $dashicons ); -
do_action( "acf/fields/icon_picker/tab/{$name}", $field ); -
acf/fields/page_link/query
filterapply_filters( 'acf/fields/page_link/query', $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/page_link/query/key={$field['key']}", $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/page_link/query/name={$field['name']}", $args, $field, $options['post_id'] ); -
acf/fields/page_link/result
filterapply_filters( 'acf/fields/page_link/result', $title, $post, $field, $post_id ); -
apply_filters( "acf/fields/page_link/result/key={$field['key']}", $title, $post, $field, $post_id ); -
apply_filters( "acf/fields/page_link/result/name={$field['_name']}", $title, $post, $field, $post_id ); -
acf/fields/post_object/query
filterapply_filters( 'acf/fields/post_object/query', $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/post_object/query/key={$field['key']}", $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/post_object/query/name={$field['name']}", $args, $field, $options['post_id'] ); -
apply_filters( 'acf/fields/post_object/result', $title, $post, $field, $post_id ); -
apply_filters( "acf/fields/post_object/result/key={$field['key']}", $title, $post, $field, $post_id ); -
apply_filters( "acf/fields/post_object/result/name={$field['_name']}", $title, $post, $field, $post_id ); -
apply_filters( 'acf/fields/relationship/query', $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/relationship/query/key={$field['key']}", $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/relationship/query/name={$field['name']}", $args, $field, $options['post_id'] ); -
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id ); -
apply_filters( "acf/fields/relationship/result/key={$field['key']}", $title, $post, $field, $post_id ); -
apply_filters( "acf/fields/relationship/result/name={$field['_name']}", $title, $post, $field, $post_id ); -
acf/fields/select/query
filterapply_filters( 'acf/fields/select/query', array(), $options ); -
apply_filters( "acf/fields/select/query/key={$options['field_key']}", $shortcut, $options ); -
acf/fields/taxonomy/query
filterapply_filters( 'acf/fields/taxonomy/query', $args, $field, $options['post_id'] ); -
apply_filters( 'acf/fields/taxonomy/wp_list_categories', $args, $field ); -
apply_filters( "acf/fields/taxonomy/wp_list_categories/key={$field['key']}", $args, $field ); -
apply_filters( "acf/fields/taxonomy/wp_list_categories/name={$field['_name']}", $args, $field ); -
acf/fields/wysiwyg/toolbars
filterapply_filters( 'acf/fields/wysiwyg/toolbars', $toolbars ); -
acf/first_activated
actiondo_action( 'acf/first_activated' ); -
apply_filters( "acf/form/{$args['context']}/allowed_field_keys", array_merge( $verified, $located ), $filter_arg ); -
acf/get_field_group_title
filterapply_filters( 'acf/get_field_group_title', esc_html( $title ), $field_group ); -
acf/get_field_types
filterapply_filters( 'acf/get_field_types', $groups ); -
apply_filters( "acf/get_image_mime_types/key={$field_key}", $field_mimes, $field ); -
apply_filters( "acf/get_image_mime_types/name={$field_name}", $field_mimes, $field ); -
apply_filters( "acf/get_image_mime_types/type={$field_type}", $image_mimes, $field ); -
acf/get_image_sizes
filterapply_filters( 'acf/get_image_sizes', $sizes ); -
acf/get_invalid_field_value
actiondo_action( 'acf/get_invalid_field_value', $field, __FUNCTION__ ); -
acf/get_post_id_info
filterapply_filters( 'acf/get_post_id_info', $info, $post_id ); -
acf/get_post_stati
filterapply_filters( 'acf/get_post_stati', $post_statuses, $args ); -
acf/get_post_types
filterapply_filters( 'acf/get_post_types', $post_types, $args ); -
acf/get_taxonomies
filterapply_filters( 'acf/get_taxonomies', $taxonomies, $args ); -
acf/in_admin_header
actiondo_action( 'acf/in_admin_header' ); -
acf/include_admin_tools
actiondo_action( 'acf/include_admin_tools' ); -
acf/init_internal_post_types
actiondo_action( 'acf/init_internal_post_types' ); -
do_action( 'acf/input/admin_print_scripts' ); -
acf/input/form_data
actiondo_action( 'acf/input/form_data', $data ); -
apply_filters( 'acf/internal_post_type_list/admin_body_classes', $classes, $this->post_type ); -
do_action( 'acf/internal_post_type_list/current_screen', $this->post_type ); -
apply_filters( 'acf/internal_post_type/admin_body_classes', $classes, $this->post_type ); -
do_action( 'acf/internal_post_type/current_screen', $this->post_type ); -
apply_filters( "acf/is_image_field/key={$field_key}", $is_image_field, $field ); -
apply_filters( "acf/is_image_field/name={$field_name}", $is_image_field, $field ); -
apply_filters( "acf/is_image_field/type={$field_type}", $is_image_field, $field ); -
acf/json/eof_newline
filterapply_filters( 'acf/json/eof_newline', PHP_EOL ); -
apply_filters( 'acf/localized_field_categories', $categories_i18n ); -
acf/location/match_rule
filterapply_filters( 'acf/location/match_rule', $result, $rule, $screen, $field_group ); -
acf/location/rule_match
filterapply_filters( 'acf/location/rule_match', $result, $rule, $screen, $field_group ); -
apply_filters( "acf/location/rule_match/{$rule['param']}", $result, $rule, $screen, $field_group ); -
acf/location/rule_operators
filterapply_filters( 'acf/location/rule_operators', $operators, $rule ); -
apply_filters( "acf/location/rule_operators/{$rule['param']}", $operators, $rule ); -
acf/location/rule_values
filterapply_filters( 'acf/location/rule_values', $values, $rule ); -
apply_filters( "acf/location/rule_values/{$rule['param']}", $values, $rule ); -
acf/location/validate_rule
filterapply_filters( 'acf/location/validate_rule', $rule ); -
apply_filters( 'acf/post_type/additional_settings_tabs', array() ); -
do_action( 'acf/post_type/admin_enqueue_scripts' ); -
acf/post_type/admin_head
actiondo_action( 'acf/post_type/admin_head' ); -
acf/post_type/admin_l10n
filterapply_filters( 'acf/post_type/admin_l10n', $l10n ); -
apply_filters( 'acf/post_type/available_supports', $acf_available_supports, $acf_post_type ); -
acf/post_type/basic_settings
actiondo_action( 'acf/post_type/basic_settings', $acf_post_type ); -
acf/post_type/form_data
actiondo_action( 'acf/post_type/form_data', $args ); -
apply_filters( 'acf/post_type/prevent_access_to_wp_functions_in_meta_box_cb', true ); -
apply_filters( 'acf/post_type/registration_args', $args, $post ); -
do_action( "acf/post_type/render_settings_tab/{$tab_key}", $acf_post_type ); -
acf/pre_format_value
filterapply_filters( 'acf/pre_format_value', null, $value, $post_id, $field, $escape_html ); -
acf/pre_load_attachment
filterapply_filters( 'acf/pre_load_attachment', null, $attachment ); -
acf/pre_load_meta
filterapply_filters( 'acf/pre_load_meta', null, $post_id ); -
acf/pre_load_post_id
filterapply_filters( 'acf/pre_load_post_id', null, $post_id ); -
acf/pre_load_reference
filterapply_filters( 'acf/pre_load_reference', null, $field_name, $post_id ); -
acf/pre_load_value
filterapply_filters( 'acf/pre_load_value', null, $post_id, $field ); -
acf/pre_render_field
filterapply_filters( 'acf/pre_render_field', $field, $post_id ); -
acf/pre_save_post
filterapply_filters( 'acf/pre_save_post', $post_id, $form ); -
acf/pre_submit_form
filterapply_filters( 'acf/pre_submit_form', $form ); -
acf/pre_update_value
filterapply_filters( 'acf/pre_update_value', null, $value, $post_id, $field ); -
do_action( "acf/render_field_{$tab}_settings", $field ); -
do_action( "acf/render_field_{$tab}_settings/type={$field['type']}", $field ); -
do_action( 'acf/render_field_group_settings', $field_group ); -
acf/render_field_settings
actiondo_action( 'acf/render_field_settings', $field ); -
acf/save_post
actiondo_action( 'acf/save_post', $post_id ); -
apply_filters( "acf/schema/format_value/name={$field_name}", $formatted_value, $value, $field_object ); -
apply_filters( "acf/schema/format_value/pre/name={$field_name}", $pre_value, $value, $field_object ); -
apply_filters( "acf/schema/format_value/pre/type={$field_type_name}", $pre_value, $value, $field_object ); -
apply_filters( "acf/schema/format_value/type={$field_type_name}", $formatted_value, $value, $field_object ); -
acf/settings/{$name}
filterapply_filters( "acf/settings/{$name}", $value ); -
apply_filters( 'acf/shortcode/allow_in_block_themes_outside_content', false ); -
apply_filters( 'acf/shortcode/allow_unsafe_html', false, $atts, $field_type, $field ); -
apply_filters( 'acf/shortcode/disabled_message', esc_html__( '[The ACF shortcode is disabled on this site]', 'acf' ) ); -
apply_filters( 'acf/shortcode/field_not_allowed_message', '[' . esc_html__( 'The requested ACF field is not allowed to be output in bindings or the ACF Shortcode.', 'acf' ) . ']' ); -
apply_filters( 'acf/shortcode/field_not_supported_message', '[' . esc_html__( 'The requested ACF field type does not support output in bindings or the ACF Shortcode.', 'acf' ) . ']' ); -
apply_filters( 'acf/shortcode/post_not_public_message', esc_html__( '[The ACF shortcode cannot display fields from non-public posts]', 'acf' ) ); -
acf/shortcode/prevent_access
filterapply_filters( 'acf/shortcode/prevent_access', false, $atts, $decoded_post_id['id'], $decoded_post_id['type'], $field_type, $field ); -
apply_filters( 'acf/shortcode/prevent_access_to_fields_on_non_public_posts', true ); -
apply_filters( 'acf/shortcode/preview_capability', 'publish_posts' ); -
apply_filters( 'acf/shortcode/preview_capability_message', esc_html__( '[ACF shortcode value disabled for preview]', 'acf' ) ); -
apply_filters( 'acf/site_health/update_source', __( 'wordpress.org', 'acf' ) ); -
acf/submit_form
actiondo_action( 'acf/submit_form', $form, $post_id ); -
apply_filters( 'acf/taxonomy/additional_settings_tabs', array() ); -
do_action( 'acf/taxonomy/admin_enqueue_scripts' ); -
acf/taxonomy/admin_head
actiondo_action( 'acf/taxonomy/admin_head' ); -
acf/taxonomy/admin_l10n
filterapply_filters( 'acf/taxonomy/admin_l10n', $l10n ); -
acf/taxonomy/basic_settings
actiondo_action( 'acf/taxonomy/basic_settings', $acf_taxonomy ); -
acf/taxonomy/form_data
actiondo_action( 'acf/taxonomy/form_data', $args ); -
apply_filters( 'acf/taxonomy/prevent_access_to_wp_functions_in_meta_box_cb', true ); -
apply_filters( 'acf/taxonomy/registration_args', $args, $post ); -
do_action( "acf/taxonomy/render_settings_tab/{$tab_key}", $acf_taxonomy ); -
apply_filters( 'acf/ui_options_page/additional_settings_tabs', array() ); -
acf/update_500_field
actiondo_action( 'acf/update_500_field', $field ); -
acf/upgrade_500
actiondo_action( 'acf/upgrade_500' ); -
acf/upgrade_500_field_group
actiondo_action( 'acf/upgrade_500_field_group', $nfg, $ofg ); -
acf/upgrade_550
actiondo_action( 'acf/upgrade_550' ); -
acf/upgrade_550_taxonomy
actiondo_action( 'acf/upgrade_550_taxonomy', $taxonomy ); -
do_action( 'acf/upgrade_550_taxonomy_term', $term_id ); -
acf/upgrade_550_termmeta
actiondo_action( 'acf/upgrade_550_termmeta' ); -
acf/upload_prefilter
filterapply_filters( 'acf/upload_prefilter', $errors, $file, $field ); -
apply_filters( "acf/upload_prefilter/key={$field['key']}", $errors, $file, $field ); -
apply_filters( "acf/upload_prefilter/name={$field['_name']}", $errors, $file, $field ); -
acf/validate_attachment
filterapply_filters( 'acf/validate_attachment', $errors, $file, $attachment, $field, $context ); -
apply_filters( "acf/validate_attachment/key={$field['key']}", $errors, $file, $attachment, $field, $context ); -
apply_filters( "acf/validate_attachment/name={$field['_name']}", $errors, $file, $attachment, $field, $context ); -
acf/validate_form
filterapply_filters( 'acf/validate_form', $args ); -
apply_filters( 'acf/validate_is_image_attachment', $errors, $file, $attachment, $field, $context ); -
apply_filters( "acf/validate_is_image_attachment/key={$field_key}", $errors, $file, $attachment, $field, $context ); -
apply_filters( "acf/validate_is_image_attachment/name={$field_name}", $errors, $file, $attachment, $field, $context ); -
apply_filters( "acf/validate_is_image_attachment/type={$field_type}", $errors, $file, $attachment, $field, $context ); -
acf/validate_post_id
filterapply_filters( 'acf/validate_post_id', $post_id, $_post_id ); -
acf/validate_save_post
actiondo_action( 'acf/validate_save_post' ); -
acf/validate_setting
filterapply_filters( 'acf/validate_setting', $name ); -
acf/validate_value
filterapply_filters( 'acf/validate_value', $valid, $value, $field, $input ); -
apply_filters( "acf/validate_value/key={$field['key']}", $valid, $value, $field, $input ); -
apply_filters( "acf/validate_value/name={$field['_name']}", $valid, $value, $field, $input ); -
acf/verify_ajax
actiondo_action( 'acf/verify_ajax' ); -
enter_title_here
filterapply_filters( 'enter_title_here', __( 'Add title' ), $post ); -
mce_buttons
filterapply_filters( 'mce_buttons', $mce_buttons, $editor_id ); -
mce_buttons_2
filterapply_filters( 'mce_buttons_2', $mce_buttons_2, $editor_id ); -
mce_buttons_3
filterapply_filters( 'mce_buttons_3', array(), $editor_id ); -
mce_buttons_4
filterapply_filters( 'mce_buttons_4', array(), $editor_id ); -
media_buttons
actiondo_action( 'media_buttons', $id ); -
teeny_mce_buttons
filterapply_filters( 'teeny_mce_buttons', $teeny_mce_buttons, $editor_id );
Generated from Advanced Custom Fields (ACF®)'s GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: