Secure Custom Fields 6.9.9 has 108 actions and 288 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 Secure Custom Fields fires an action
add_action( 'acf/add_meta_boxes', function( $post_type, $post, $field_groups ) {
// Your code runs here.
}, 10, 3 );
// Change a value Secure Custom Fields is about to use
add_filter( 'acf/prepare_field', function( $field ) {
// Change $field here.
return $field;
}, 10, 1 );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 $field array. */ apply_filters( 'acf/prepare_field', $field ); -
/** * Filters the metabox priority. */ apply_filters( 'acf/input/meta_box_priority', $priority, $field_group ); -
/** * Filters the post array to translate strings. */ apply_filters( "acf/translate_{$this->hook_name}", $post ); -
/** * Fires after metaboxes have been added. */ do_action( 'acf/add_meta_boxes', $post_type, $post, $field_groups ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters whether the supplied field should be treated as an image field. */ apply_filters( 'acf/is_image_field', false, $field ); -
/** * Filters the post array after it has been loaded. */ apply_filters( "acf/load_{$this->hook_name}", $post ); -
/** * Filters the list of $_POST['acf'] keys an options page save is allowed to * save. */ apply_filters( 'acf/options_page/allowed_field_keys', $keys, $this->page ); -
/** * 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 ); -
/** * Filters the $field array before being returned to the export tool. */ apply_filters( 'acf/prepare_field_for_export', $field ); -
/** * Filters the JSON-LD data before output for a block. */ apply_filters( 'acf/schema/data', $jsonld_data, $block, $block_type ); -
/** * Filters whether to output debug comments in HTML */ apply_filters( 'acf/schema/debug', false ); -
/** * 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 ); -
/** * Filters the args used in `acf_get_posts()` that are passed to `get_posts()`. */ apply_filters( 'acf/acf_get_posts/args', $args ); -
/** * Filters the results found in the `acf_get_posts()` function. */ apply_filters( 'acf/acf_get_posts/results', $posts ); -
/** * Fires during "admin_enqueue_scripts" when ACF scripts are enqueued. */ do_action( 'acf/admin_enqueue_scripts' ); -
/** * 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 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 ); -
/** * Filters the query args. */ apply_filters( 'acf/ajax/query_users/args', $args, $request, $this ); -
/** * Fires when a request is made. */ do_action( 'acf/ajax/query_users/init', $request, $this ); -
/** * Filters the result item. */ apply_filters( 'acf/ajax/query_users/result', $item, $user, $this ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters the default expanded editor button text for blocks. */ apply_filters( 'acf/blocks/default_expanded_editor_button_text', '', $block ); -
/** * Filters the field types that require a wider popover for inline editing. */ apply_filters( 'acf/blocks/fields_needing_wide_popover', array( 'gallery', 'relationship', 'wysiwyg', 'google_map', ) ); -
/** * Filters the field types that should open in the expanded editor by default. */ apply_filters( 'acf/blocks/fields_to_open_in_expanded_editor', array( 'repeater', 'flexible_content', ) ); -
/** * Filters whether the legacy block version admin notice should be shown. */ apply_filters( 'acf/blocks/show_legacy_block_version_notice', true ); -
/** * 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 ); -
/** * Filters the decoded post_id information. */ apply_filters( 'acf/decode_post_id', compact( 'type', 'id' ), $post_id ); -
/** * Fires immediately after a field has been deleted. */ do_action( 'acf/delete_field', $field ); -
/** * Fires before a value is deleted. */ do_action( 'acf/delete_value', $post_id, $field['name'], $field ); -
/** * Filters the $field array after it has been duplicated. */ apply_filters( 'acf/duplicate_field', $field ); -
/** * 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 ); -
/** * Filters the $wrapper array before rendering. */ apply_filters( 'acf/field_wrapper_attributes', $wrapper, $field ); -
/** * 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 ); -
/** * Filters the term title. */ apply_filters( 'acf/fields/taxonomy/result', $title, $term, $field, $post_id ); -
/** * 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 ); -
/** * 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 ); -
/** * Fires within the #acf-form-data element to add extra HTML. */ do_action( 'acf/form_data', $data ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters the $value for use in a template function. */ apply_filters( 'acf/format_value', $value, $post_id, $field, $escape_html ); -
/** * Filters the cache key. */ apply_filters( 'acf/get_cache_key', $key, $key ); -
/** * Filters the counted number of fields. */ apply_filters( 'acf/get_field_count', count( $raw_fields ), $parent ); -
/** * Filters the generated CSS styles. */ apply_filters( 'acf/get_field_group_style', $style, $field_group ); -
/** * Filters the field's label HTML. */ apply_filters( 'acf/get_field_label', $label, $field, $context ); -
/** * Filters the image MIME types allowed for image and gallery fields. */ apply_filters( 'acf/get_image_mime_types', $image_mimes ); -
/** * Filters the determined local. */ apply_filters( 'acf/get_locale', $locale ); -
/** * Filters the object type. */ apply_filters( 'acf/get_object_type', $object, $object_type, $object_subtype ); -
/** * Filters the $sub_field found. */ apply_filters( 'acf/get_sub_field', $sub_field, $id, $field ); -
/** * This action is documented in includes/acf-field-group-functions.php */ do_action( 'acf/import_field', $field ); -
/** * Fires after field types have been included. */ do_action( 'acf/include_field_types', ACF_FIELD_API_VERSION ); -
/** * Fires during initialization. Used to add local fields. */ do_action( 'acf/include_fields', ACF_FIELD_API_VERSION ); -
/** * Fires after location types have been included. */ do_action( 'acf/include_location_rules', ACF_FIELD_API_VERSION ); -
/** * Fires during initialization. Used to add local option pages. */ do_action( 'acf/include_options_pages', ACF_MAJOR_VERSION ); -
/** * Fires during initialization. Used to add local post types. */ do_action( 'acf/include_post_types', ACF_MAJOR_VERSION ); -
/** * Fires during initialization. Used to add local taxonomies. */ do_action( 'acf/include_taxonomies', ACF_MAJOR_VERSION ); -
/** * 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' ); -
/** * Fires during "admin_head" when ACF scripts are enqueued. */ do_action( 'acf/input/admin_head' ); -
/** * Filters an empty array for compat l10n data. */ apply_filters( 'acf/input/admin_l10n', array() ); -
/** * Filters whether the $id is an ACF post key. */ apply_filters( "acf/is_{$this->hook_name}_key", false, $id, $this->post_type ); -
/** * Filters whether the $id is a field key. */ apply_filters( 'acf/is_field_key', false, $id ); -
/** * 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 ); -
/** * Filters the path(s) used to load JSON from. */ apply_filters( 'acf/json/load_paths', $paths ); -
/** * Filters the filename used when saving JSON. */ apply_filters( 'acf/json/save_file_name', $key . '.json', $post, $load_path ); -
/** * 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 ); -
/** * Filters the attachment $response after it has been loaded. */ apply_filters( 'acf/load_attachment', $response, $attachment, $meta ); -
/** * Filters the $field array after it has been loaded. */ apply_filters( 'acf/load_field', $field ); -
/** * Filters the $fields array. */ apply_filters( 'acf/load_fields', $fields, $parent ); -
/** * Filters the $meta array after it has been loaded. */ apply_filters( 'acf/load_meta', $meta, $post_id ); -
/** * Filters the reference value. */ apply_filters( 'acf/load_reference', $reference, $field_name, $post_id ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * Fires after publishing a save on an options page. */ do_action( 'acf/options_page/save', $this->page['post_id'], $this->page['menu_slug'] ); -
/** * Fires before the major-publishing-actions div. */ do_action( 'acf/options_page/submitbox_before_major_actions', $this->page ); -
/** * Fires before the major-publishing-actions div. */ do_action( 'acf/options_page/submitbox_major_actions', $this->page ); -
/** * Filters the $fields array before they are rendered. */ apply_filters( 'acf/pre_render_fields', $fields, $post_id ); -
/** * Filters the block attributes before saving. */ apply_filters( 'acf/pre_save_block', $attrs ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters the $value before used in HTML. */ apply_filters( 'acf/preview_value', $value, $post_id, $field ); -
/** * Filters the arguments for registering a block type. */ apply_filters( 'acf/register_block_type_args', $block ); -
/** * Fires after core scripts and styles have been registered. */ do_action( 'acf/register_scripts', $version, $suffix ); -
/** * Fires after a location type is registered. */ do_action( 'acf/registered_location_type', $name, $location_type ); -
/** * Fires when rendering a field. */ do_action( 'acf/render_field', $field ); -
/** * 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 ); -
/** * Filter the REST API links for a given field. */ apply_filters( 'acf/rest/get_field_links', $links, $post_id, $field, $value ); -
/** * Filter the REST API schema for a given field. */ apply_filters( 'acf/rest/get_field_schema', $schema, $field ); -
/** * Filter the fields available to the REST API. */ apply_filters( 'acf/rest/get_fields', $fields, $resource, $http_method ); -
/** * Filter whether to automatically add author to JSON-LD output */ apply_filters( 'acf/schema/auto_add_author', true, $post, $post_type ); -
/** * Filter whether to automatically add featured image to JSON-LD output */ apply_filters( 'acf/schema/auto_add_image', true, $post, $post_type ); -
/** * Filters the field objects before retrieval, allowing blocks to provide * custom data. */ apply_filters( 'acf/schema/block_field_objects', null, $block, $block_type, $post_id ); -
/** * Filters the field objects for a specific block name/type. */ apply_filters( "acf/schema/block_field_objects/block_name={$block['name']}", $field_objects, $block, $block_type, $post_id ); -
/** * Filters whether JSON-LD output is enabled for this specific block. */ apply_filters( 'acf/schema/block_jsonld_enabled', $auto_jsonld, $block, $block_type ); -
/** * 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 ); -
/** * Filter the formatted value before returning */ apply_filters( 'acf/schema/format_value', $formatted_value, $value, $field_object, $field_type_name ); -
/** * 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 ); -
/** * 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 ); -
/** * Filter the available Schema.org properties. */ apply_filters( 'acf/schema/schema_properties', $roles, $field_type ); -
/** * Filter the available Schema.org types */ apply_filters( 'acf/schema/schema_types', $types ); -
/** * Filters whether the SCF datastore is enabled. */ apply_filters( 'acf/settings/enable_datastore', false ); -
/** * Filters the slug created by acf_slugify(). */ apply_filters( 'acf/slugify', $slug, $raw, $glue ); -
/** * Filters the $field array to translate strings. */ apply_filters( 'acf/translate_field', $field ); -
/** * Fires immediately after a field has been trashed. */ do_action( 'acf/trash_field', $field ); -
/** * 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 ); -
/** * Filters the $field array before it is updated. */ apply_filters( 'acf/update_field', $field ); -
/** * Filters the $value before it is updated. */ apply_filters( 'acf/update_value', $value, $post_id, $field, $value ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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.', 'secure-custom-fields' ), $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 the $page array after it has been validated. */ apply_filters( 'acf/validate_options_page', $page ); -
/** * 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 ); -
/** * This filter is documented in wp-admin/includes/media.php */ apply_filters( 'attachment_fields_to_save', $post, $changes ); -
/** * Filters the locale for the current request. */ apply_filters( 'determine_locale', $determined_locale ); -
/** * Filters a plugin's locale. */ apply_filters( 'plugin_locale', acf_get_locale(), $domain ); -
/** * Filters the locale for the current request prior to the default * determination process. */ apply_filters( 'pre_determine_locale', null ); -
/** * Filters the result of the parent existence check. */ apply_filters( 'scf_field_parent_exists', null, $parent_id ); -
/** * 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 ); -
acf/field_group/render_field_settings_tab/{$tab_key}/type={$field['type']}
action Copy link Customise this hookdo_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 ); -
apply_filters( "acf/{$this->hook_name}/ajax_validate_values", $valid, $_POST['acf_post_type'] ); -
apply_filters( 'acf/blocks/top_toolbar_fields', array(), $block, $content, $is_preview, $post_id, $wp_block, $context ); -
apply_filters( 'acf/field_group/disable_field_settings_tabs', false ); -
apply_filters( 'acf/field_group/enable_field_browser', true ); -
apply_filters( 'acf/pre_load_metadata', null, $post_id, $name, $hidden ); -
do_action( 'acf/removed_unsafe_html', __FUNCTION__, $selector, $field, $post_id ); -
apply_filters( 'acf/admin/prevent_escaped_html_notice', false ); -
apply_filters( 'acf/blocks/default_block_version', $default_acf_block_version, $settings, 'json' ); -
apply_filters( 'acf/blocks/wrap_frontend_innerblocks', true, $attributes['name'] ); -
do_action( 'acf/post_type/basic_settings', $acf_post_type ); -
apply_filters( 'acf/pre_delete_metadata', null, $post_id, $name, $hidden ); -
apply_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 ); -
do_action( 'acf/update_field_group', $old_field_group ); -
apply_filters( 'default_page_template_title', __( 'Default Template', 'secure-custom-fields' ), 'meta-box' ); -
apply_filters_ref_array( "{$filter}/{$variation}={$value}", $args ); -
do_action_ref_array( "{$filter}/{$variation}={$value}", $args ); -
do_action( 'acf_block_render_template', $block, $content, $is_preview, $post_id, $wp_block, $context ); -
apply_filters( 'acf_the_content', $value ); -
apply_filters( 'acf_the_editor_content', $field['value'], $default_editor ); -
do_action( 'acf/admin_print_scripts' ); -
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 SCF field is not allowed to be output in bindings or the SCF Shortcode.', 'secure-custom-fields' ) . ']' ); -
apply_filters( 'acf/bindings/field_not_supported_message', '[' . esc_html__( 'The requested SCF field type does not support output in Block Bindings or the SCF shortcode.', 'secure-custom-fields' ) . ']' ); -
apply_filters( 'acf/blocks/binding_value', $value, $source_attrs, $block_instance, $attribute_name ); -
apply_filters( 'acf/blocks/no_fields_assigned_message', $message, $block_name ); -
do_action( 'acf/blocks/post_block_template_render', $block, $content, $is_preview, $post_id, $wp_block, $context ); -
do_action( 'acf/blocks/pre_block_template_render', $block, $content, $is_preview, $post_id, $wp_block, $context ); -
apply_filters( 'acf/blocks/prevent_edit_forms_on_rest_endpoints', true ); -
apply_filters( 'acf/blocks/render_capability', 'edit_theme_options', $args['post_id'] ); -
apply_filters( 'acf/blocks/template_not_found_message', '<p>' . __( 'The render template for this ACF Block was not found', 'secure-custom-fields' ) . '</p>' ); -
apply_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 ); -
do_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' ); -
do_action( 'acf/field_group/admin_head' ); -
apply_filters( 'acf/field_group/admin_l10n', $l10n ); -
apply_filters( 'acf/field_group/enable_field_type_select2', true ); -
do_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 ); -
acf/field_group/render_field_settings_tab/{$tab}/type={$field['type']}
action Copy link Customise this hookdo_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 ); -
apply_filters( 'acf/fields/flexible_content/layout_default_expanded', false ); -
apply_filters( 'acf/fields/flexible_content/layout_title', $title, $this->field, $this->layout, $this->order ); -
acf/fields/flexible_content/layout_title/key={$this->field['key']}
filter Copy link Customise this hookapply_filters( "acf/fields/flexible_content/layout_title/key={$this->field['key']}", $title, $this->field, $this->layout, $this->order ); -
acf/fields/flexible_content/layout_title/name={$this->field['_name']}
filter Copy link Customise this hookapply_filters( "acf/fields/flexible_content/layout_title/name={$this->field['_name']}", $title, $this->field, $this->layout, $this->order ); -
apply_filters( 'acf/fields/flexible_content/no_value_message', $no_value_message, $this->field ); -
apply_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 ); -
apply_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'] ); -
apply_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 ); -
apply_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 ); -
apply_filters( 'acf/fields/select/query', array(), $options ); -
apply_filters( "acf/fields/select/query/key={$options['field_key']}", $shortcut, $options ); -
apply_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 ); -
apply_filters( 'acf/fields/wysiwyg/toolbars', $toolbars ); -
do_action( 'acf/first_activated' ); -
apply_filters( "acf/form/{$args['context']}/allowed_field_keys", array_merge( $verified, $located ), $filter_arg ); -
apply_filters( 'acf/get_field_group_title', esc_html( $title ), $field_group ); -
apply_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 ); -
apply_filters( 'acf/get_image_sizes', $sizes ); -
do_action( 'acf/get_invalid_field_value', $field, __FUNCTION__ ); -
apply_filters( 'acf/get_options_page', $page, $slug ); -
apply_filters( 'acf/get_options_pages', $pages ); -
apply_filters( 'acf/get_post_id_info', $info, $post_id ); -
apply_filters( 'acf/get_post_stati', $post_statuses, $args ); -
apply_filters( 'acf/get_post_types', $post_types, $args ); -
apply_filters( 'acf/get_taxonomies', $taxonomies, $args ); -
do_action( 'acf/in_admin_header' ); -
do_action( 'acf/include_admin_tools' ); -
do_action( 'acf/init_internal_post_types' ); -
do_action( 'acf/input/admin_print_scripts' ); -
do_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 ); -
apply_filters( 'acf/json/eof_newline', PHP_EOL ); -
apply_filters( 'acf/localized_field_categories', $categories_i18n ); -
apply_filters( 'acf/location/match_rule', $result, $rule, $screen, $field_group ); -
apply_filters( 'acf/location/rule_match', $result, $rule, $screen, $field_group ); -
apply_filters( "acf/location/rule_match/{$rule['param']}", $result, $rule, $screen, $field_group ); -
apply_filters( 'acf/location/rule_operators', $operators, $rule ); -
apply_filters( "acf/location/rule_operators/{$rule['param']}", $operators, $rule ); -
apply_filters( 'acf/location/rule_values', $values, $rule ); -
apply_filters( "acf/location/rule_values/{$rule['param']}", $values, $rule ); -
apply_filters( 'acf/location/validate_rule', $rule ); -
apply_filters( 'acf/options_page_modal/prefill_title', '%s' ); -
apply_filters( 'acf/post_type/additional_settings_tabs', array() ); -
do_action( 'acf/post_type/admin_enqueue_scripts' ); -
do_action( 'acf/post_type/admin_head' ); -
apply_filters( 'acf/post_type/admin_l10n', $l10n ); -
apply_filters( 'acf/post_type/available_supports', $acf_available_supports, $acf_post_type ); -
do_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 ); -
apply_filters( 'acf/pre_format_value', null, $value, $post_id, $field, $escape_html ); -
apply_filters( 'acf/pre_load_attachment', null, $attachment ); -
apply_filters( 'acf/pre_load_meta', null, $post_id ); -
apply_filters( 'acf/pre_load_post_id', null, $post_id ); -
apply_filters( 'acf/pre_load_reference', null, $field_name, $post_id ); -
apply_filters( 'acf/pre_load_value', null, $post_id, $field ); -
apply_filters( 'acf/pre_render_field', $field, $post_id ); -
apply_filters( 'acf/pre_save_post', $post_id, $form ); -
apply_filters( 'acf/pre_submit_form', $form ); -
apply_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 ); -
do_action( 'acf/render_field_settings', $field ); -
do_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 ); -
apply_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]', 'secure-custom-fields' ) ); -
apply_filters( 'acf/shortcode/display_admin_errors', 'manage_options' ); -
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.', 'secure-custom-fields' ) . ']' ); -
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.', 'secure-custom-fields' ) . ']' ); -
apply_filters( 'acf/shortcode/post_not_public_message', esc_html__( '[The ACF shortcode cannot display fields from non-public posts]', 'secure-custom-fields' ) ); -
apply_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]', 'secure-custom-fields' ) ); -
apply_filters( 'acf/site_health/update_source', __( 'wordpress.org', 'secure-custom-fields' ) ); -
do_action( 'acf/submit_form', $form, $post_id ); -
apply_filters( 'acf/taxonomy/additional_settings_tabs', array() ); -
do_action( 'acf/taxonomy/admin_enqueue_scripts' ); -
do_action( 'acf/taxonomy/admin_head' ); -
apply_filters( 'acf/taxonomy/admin_l10n', $l10n ); -
do_action( 'acf/taxonomy/basic_settings', $acf_taxonomy ); -
do_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() ); -
do_action( 'acf/ui_options_page/admin_enqueue_scripts' ); -
do_action( 'acf/ui_options_page/admin_head' ); -
apply_filters( 'acf/ui_options_page/admin_l10n', $l10n ); -
do_action( 'acf/ui_options_page/form_data', $args ); -
apply_filters( 'acf/ui_options_page/registration_args', $args, $post ); -
do_action( "acf/ui_options_page/render_settings_tab/{$tab_key}", $acf_ui_options_page ); -
do_action( 'acf/update_500_field', $field ); -
do_action( 'acf/upgrade_500' ); -
do_action( 'acf/upgrade_500_field_group', $nfg, $ofg ); -
do_action( 'acf/upgrade_550' ); -
do_action( 'acf/upgrade_550_taxonomy', $taxonomy ); -
do_action( 'acf/upgrade_550_taxonomy_term', $term_id ); -
do_action( 'acf/upgrade_550_termmeta' ); -
apply_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 ); -
apply_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 ); -
apply_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 ); -
apply_filters( 'acf/validate_post_id', $post_id, $_post_id ); -
do_action( 'acf/validate_save_post' ); -
apply_filters( 'acf/validate_setting', $name ); -
apply_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 ); -
do_action( 'acf/verify_ajax' ); -
apply_filters( 'enter_title_here', __( 'Add title', 'secure-custom-fields' ), $post ); -
apply_filters( 'mce_buttons', $mce_buttons, $editor_id ); -
apply_filters( 'mce_buttons_2', $mce_buttons_2, $editor_id ); -
apply_filters( 'mce_buttons_3', array(), $editor_id ); -
apply_filters( 'mce_buttons_4', array(), $editor_id ); -
do_action( 'media_buttons', $id ); -
apply_filters_deprecated( 'scf/bidirectional/allow_target', array( $can_update, $target_id, $field ), '6.9.8', 'acf/bidirectional/can_update_target' ); -
do_action( 'scf/include_admin_beta_features' ); -
apply_filters_deprecated( 'scf/upload/generate_previews', array( $generate_previews, $file, $id ), '6.9.8', 'acf/upload/generate_previews' ); -
apply_filters( 'teeny_mce_buttons', $teeny_mce_buttons, $editor_id ); -
apply_filters( 'wp_delete_file', $file );
Generated from Secure Custom Fields's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: