NavThemes Gutenberg Blocks 2.0 has 62 actions and 164 filters, read directly from its source code on Nov 19, 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 NavThemes Gutenberg Blocks fires an action
add_action( 'acf/options_page/submitbox_before_major_actions', function( $page ) {
// Your code runs here.
}, 10, 1 );
// Change a value NavThemes Gutenberg Blocks is about to use
add_filter( 'acf/input/meta_box_priority', function( $priority, $field_group ) {
// Change $priority here.
return $priority;
}, 10, 2 );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 metabox priority. */ apply_filters( 'acf/input/meta_box_priority', $priority, $field_group ); -
/** * Filters the $field array when it is being cloned. */ apply_filters( "acf/clone_field/type={$field['type']}", $field, $clone_field ); -
/** * Fires immediately after a field has been deleted. */ do_action( "acf/delete_field/type={$field['type']}", $field ); -
/** * Fires before a value is deleted. */ do_action( "acf/delete_value/type={$field['type']}", $post_id, $field['name'], $field ); -
/** * Filters the $field array after it has been duplicated. */ apply_filters( "acf/duplicate_field/type={$field['type']}", $field ); -
/** * Filters the $value for use in a template function. */ apply_filters( "acf/format_value/type={$field['type']}", $value, $post_id, $field ); -
/** * Filters the $sub_field found. */ apply_filters( "acf/get_sub_field/type={$field['type']}", $sub_field, $selector, $field ); -
/** * Filters the $field array after it has been loaded. */ apply_filters( "acf/load_field/type={$field['type']}", $field ); -
/** * Filters the $value after it has been loaded. */ apply_filters( "acf/load_value/type={$field['type']}", $value, $post_id, $field ); -
acf/options_page/submitbox_before_major_actions
action Used by 8 plugins β Copy link Customise this hook/** * 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 ); -
/** * Allows developers to run a custom update function. */ apply_filters( 'acf/pre_update_value', null, $value, $post_id, $field ); -
/** * Filters the $field array before being returned to the export tool. */ apply_filters( "acf/prepare_field_for_export/type={$field['type']}", $field ); -
/** * Filters the $field array before being returned to the import tool. */ apply_filters( "acf/prepare_field_for_import/type={$field['type']}", $field ); -
/** * Filters the $field array. */ apply_filters( "acf/prepare_field/type={$field['type']}", $field ); -
/** * Filters the $value before used in HTML. */ apply_filters( "acf/preview_value/type={$field['type']}", $value, $post_id, $field ); -
/** * Fires when rendering a field. */ do_action( "acf/render_field/type={$field['type']}", $field ); -
/** * Filters the $field array to translate strings. */ apply_filters( "acf/translate_field/type={$field['type']}", $field ); -
/** * Filters the $field array before it is updated. */ apply_filters( "acf/update_field/type={$field['type']}", $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 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/type={$field['type']}", $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 ); -
/** * This action is documented in wp-admin/custom-header.php */ do_action( 'wp_create_file_in_uploads', $file, $id ); -
do_action( "acf/render_field_settings/type={$field['type']}", $field ); -
apply_filters( 'default_page_template_title', __('Default Template', 'acf') ); -
apply_filters( 'acf_the_content', $value ); -
apply_filters( 'acf_the_editor_content', $field['value'], $default_editor ); -
do_action( 'acf/admin_enqueue_scripts' ); -
do_action( 'acf/admin_head' ); -
do_action( 'acf/admin_print_scripts' ); -
apply_filters( 'acf/clone_field', $field, $clone_field ); -
apply_filters( "acf/compatibility/{$name}", false ); -
do_action( 'acf/delete_field', $field ); -
do_action( 'acf/delete_field_group', $field_group ); -
do_action( "acf/delete_field/key={$field['key']}", $field ); -
do_action( "acf/delete_field/name={$field['_name']}", $field ); -
do_action( 'acf/delete_value', $post_id, $field['name'], $field ); -
do_action( "acf/delete_value/key={$field['key']}", $post_id, $field['name'], $field ); -
do_action( "acf/delete_value/name={$field['_name']}", $post_id, $field['name'], $field ); -
apply_filters( 'acf/duplicate_field', $field ); -
do_action( 'acf/duplicate_field_group', $field_group ); -
do_action( 'acf/enqueue_scripts' ); -
do_action( 'acf/enqueue_uploader' ); -
do_action( 'acf/field_group/admin_enqueue_scripts' ); -
do_action( 'acf/field_group/admin_head' ); -
apply_filters( 'acf/field_group/admin_l10n', $l10n ); -
do_action( 'acf/field_group/form_data', $args ); -
apply_filters( 'acf/fields/flexible_content/layout_title', $title, $field, $layout, $i ); -
apply_filters( "acf/fields/flexible_content/layout_title/key={$field['key']}", $title, $field, $layout, $i ); -
acf/fields/flexible_content/layout_title/name={$field['_name']}
filter Copy link Customise this hookapply_filters( "acf/fields/flexible_content/layout_title/name={$field['_name']}", $title, $field, $layout, $i ); -
acf/fields/flexible_content/no_value_message
filter Used by 6 plugins β Copy link Customise this hookapply_filters( 'acf/fields/flexible_content/no_value_message', $no_value_message, $field ); -
apply_filters( 'acf/fields/google_map/api', $api ); -
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/taxonomy/query', $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/taxonomy/query/key={$field['key']}", $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/taxonomy/query/name={$field['name']}", $args, $field, $options['post_id'] ); -
apply_filters( 'acf/fields/taxonomy/result', $title, $term, $field, $post_id ); -
apply_filters( "acf/fields/taxonomy/result/key={$field['key']}", $title, $term, $field, $post_id ); -
apply_filters( "acf/fields/taxonomy/result/name={$field['_name']}", $title, $term, $field, $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/user/query', $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/user/query/key={$field['key']}", $args, $field, $options['post_id'] ); -
apply_filters( "acf/fields/user/query/name={$field['_name']}", $args, $field, $options['post_id'] ); -
apply_filters( 'acf/fields/user/result', $result, $user, $field, $post_id ); -
apply_filters( "acf/fields/user/result/key={$field['key']}", $result, $user, $field, $post_id ); -
apply_filters( "acf/fields/user/result/name={$field['_name']}", $result, $user, $field, $post_id ); -
apply_filters( 'acf/fields/user/search_columns', $columns, $search, $WP_User_Query, $field ); -
apply_filters( "acf/fields/user/search_columns/key={$field['key']}", $columns, $search, $WP_User_Query, $field ); -
apply_filters( "acf/fields/user/search_columns/name={$field['_name']}", $columns, $search, $WP_User_Query, $field ); -
apply_filters( 'acf/fields/wysiwyg/toolbars', $toolbars ); -
do_action( 'acf/form_data', $data ); -
apply_filters( 'acf/format_value', $value, $post_id, $field ); -
apply_filters( "acf/format_value/key={$field['key']}", $value, $post_id, $field ); -
apply_filters( "acf/format_value/name={$field['_name']}", $value, $post_id, $field ); -
apply_filters( 'acf/get_field_count', $count, $field_group ); -
apply_filters( 'acf/get_field_group', $field_group ); -
apply_filters( 'acf/get_field_group_style', $style, $field_group ); -
apply_filters( 'acf/get_field_groups', $field_groups ); -
apply_filters( 'acf/get_field_label', $label, $field ); -
apply_filters( 'acf/get_field_reference', $reference, $field_name, $post_id ); -
apply_filters( 'acf/get_field_types', $groups ); -
apply_filters( 'acf/get_fields', $fields, $parent ); -
apply_filters( 'acf/get_image_sizes', $sizes ); -
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_types', $post_types, $args ); -
apply_filters( 'acf/get_sub_field', $sub_field, $selector, $field ); -
apply_filters( 'acf/get_taxonomies', $taxonomies, $args ); -
apply_filters( 'acf/get_valid_field', $field ); -
apply_filters( 'acf/get_valid_field_group', $field_group ); -
apply_filters( "acf/get_valid_field/type={$field['type']}", $field ); -
apply_filters( 'acf/get_valid_post_id', $post_id, $_post_id ); -
do_action( 'acf/include_admin_tools' ); -
do_action( 'acf/include_field_types', $major ); -
do_action( 'acf/include_fields', $major ); -
do_action( 'acf/include_location_rules', $major ); -
do_action( 'acf/init' ); -
do_action( 'acf/input/admin_enqueue_scripts' ); -
do_action( 'acf/input/admin_head' ); -
apply_filters( 'acf/input/admin_l10n', array() ); -
do_action( 'acf/input/form_data', $data ); -
apply_filters( "acf/is_add_on_active/slug={$addon['slug']}", false ); -
apply_filters( 'acf/load_field', $field ); -
apply_filters( "acf/load_field/key={$field['key']}", $field ); -
apply_filters( "acf/load_field/name={$field['_name']}", $field ); -
apply_filters( 'acf/load_fields', $fields, $parent ); -
apply_filters( 'acf/load_reference', $reference, $field_name, $post_id ); -
apply_filters( 'acf/load_value', $value, $post_id, $field ); -
apply_filters( "acf/load_value/key={$field['key']}", $value, $post_id, $field ); -
apply_filters( "acf/load_value/name={$field['_name']}", $value, $post_id, $field ); -
apply_filters( 'acf/location/match_rule', $result, $rule, $screen ); -
apply_filters( "acf/location/match_rule/type={$rule['param']}", $result, $rule, $screen ); -
apply_filters( 'acf/location/rule_match', $result, $rule, $screen ); -
apply_filters( "acf/location/rule_match/{$rule['param']}", $result, $rule, $screen ); -
apply_filters( 'acf/location/rule_operators', $operators, $rule ); -
apply_filters( "acf/location/rule_operators/{$rule['param']}", $operators, $rule ); -
apply_filters( "acf/location/rule_operators/type={$rule['param']}", $operators, $rule ); -
apply_filters( 'acf/location/rule_types', $groups ); -
apply_filters( 'acf/location/rule_values', $values, $rule ); -
apply_filters( "acf/location/rule_values/{$rule['param']}", $values, $rule ); -
apply_filters( "acf/location/rule_values/type={$rule['param']}", $values, $rule ); -
apply_filters( 'acf/location/screen', $screen, $field_group ); -
apply_filters( 'acf/location/validate_rule', $rule ); -
apply_filters( "acf/location/validate_rule/type={$rule['param']}", $rule ); -
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_fields', $fields, $post_id ); -
apply_filters( 'acf/pre_save_post', $post_id, $form ); -
apply_filters( 'acf/pre_submit_form', $form ); -
apply_filters( 'acf/prepare_field', $field ); -
apply_filters( 'acf/prepare_field_for_export', $field ); -
apply_filters( 'acf/prepare_field_for_import', $field ); -
apply_filters( 'acf/prepare_field_group_for_export', $field_group ); -
apply_filters( "acf/prepare_field/key={$field['key']}", $field ); -
apply_filters( "acf/prepare_field/name={$field['_name']}", $field ); -
apply_filters( 'acf/prepare_fields_for_import', $fields ); -
apply_filters( 'acf/preview_value', $value, $post_id, $field ); -
apply_filters( "acf/preview_value/key={$field['key']}", $value, $post_id, $field ); -
apply_filters( "acf/preview_value/name={$field['_name']}", $value, $post_id, $field ); -
do_action( 'acf/register_scripts', $version, $min ); -
do_action( 'acf/render_field', $field ); -
do_action( 'acf/render_field_group_settings', $field_group ); -
do_action( 'acf/render_field_settings', $field ); -
do_action( "acf/render_field/key={$field['key']}", $field ); -
do_action( "acf/render_field/name={$field['_name']}", $field ); -
do_action( 'acf/render_fields', $fields, $post_id ); -
do_action( 'acf/save_post', $post_id ); -
apply_filters( "acf/settings/{$name}", $value ); -
apply_filters( 'acf/settings/dir', $value ); -
do_action( 'acf/submit_form', $form, $post_id ); -
apply_filters( 'acf/translate_field', $field ); -
apply_filters( 'acf/translate_field_group', $field_group ); -
do_action( 'acf/trash_field', $field ); -
do_action( 'acf/trash_field_group', $field_group ); -
do_action( 'acf/untrash_field', $field ); -
do_action( 'acf/untrash_field_group', $field_group ); -
do_action( 'acf/update_500_field', $field ); -
apply_filters( 'acf/update_field', $field ); -
do_action( 'acf/update_field_group', $field_group ); -
apply_filters( "acf/update_field/key={$field['key']}", $field ); -
apply_filters( "acf/update_field/name={$field['_name']}", $field ); -
apply_filters( 'acf/update_value', $value, $post_id, $field, $_value ); -
apply_filters( "acf/update_value/key={$field['key']}", $value, $post_id, $field, $_value ); -
apply_filters( "acf/update_value/name={$field['_name']}", $value, $post_id, $field, $_value ); -
apply_filters( "acf/update_value/type={$field['type']}", $value, $post_id, $field, $_value ); -
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_field', $field ); -
apply_filters( 'acf/validate_field_group', $field_group ); -
apply_filters( 'acf/validate_form', $args ); -
apply_filters( 'acf/validate_options_page', $page ); -
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( '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( 'plugin_locale', acf_get_locale(), $domain ); -
apply_filters( 'teeny_mce_buttons', $teeny_mce_buttons, $editor_id );
Generated from NavThemes Gutenberg Blocks'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: