Groovy Menu Plugin (Free) 1.4.8 has 49 actions and 34 filters, read directly from its source code on Nov 18, 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 Groovy Menu Plugin (Free) fires an action
add_action( 'wpml_register_single_string', function( $arg1, $arg2, $logo_text ) {
// Your code runs here.
}, 10, 3 );
// Change a value Groovy Menu Plugin (Free) is about to use
add_filter( 'gm_logo_change_alt_by_key', function( $img_alt, $key, $attach_id ) {
// Change $img_alt here.
return $img_alt;
}, 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
-
/** * register strings for translation. */ do_action( 'wpml_register_single_string', 'groovy-menu', 'Global settings - logo text', $logo_text ); -
/** * Fires after the groovy menu debug page output. */ do_action( 'gm_after_debug_page_output' ); -
/** * Fires before the groovy menu debug page output. */ do_action( 'gm_before_debug_page_output' ); -
/** * Fires inside the groovy menu debug page output. */ do_action( 'gm_inside_debug_page_section' ); -
/** * Fires before groovy menu mobile search icon. */ do_action( 'gm_mobile_before_search_icon' ); -
/** * Fires after the groovy menu dashboard output. */ do_action( 'gm_after_dashboard_output' ); -
/** * Fires after the groovy menu dashboard output. */ do_action( 'gm_after_integration_dashboard_output' ); -
/** * Fires after the groovy menu Logo output. */ do_action( 'gm_after_logo' ); -
/** * Fires after the groovy menu output. */ do_action( 'gm_after_main_header' ); -
/** * Fires after mobile hamburger. */ do_action( 'gm_after_mobile_hamburger' ); -
/** * Fires after the groovy menu preview output. */ do_action( 'gm_after_preview' ); -
/** * Fires after the groovy menu welcome page output. */ do_action( 'gm_after_welcome_output' ); -
/** * Fires before the groovy menu dashboard output. */ do_action( 'gm_before_dashboard_output' ); -
/** * Fires before the groovy menu dashboard output. */ do_action( 'gm_before_integration_dashboard_output' ); -
/** * Fires before the groovy menu Logo output. */ do_action( 'gm_before_logo' ); -
/** * Fires before the groovy menu output. */ do_action( 'gm_before_main_header' ); -
/** * Fires before mobile hamburger. */ do_action( 'gm_before_mobile_hamburger' ); -
/** * Fires before post meta save action. */ do_action( 'gm_before_post_meta_save' ); -
/** * Fires before the groovy menu preview output. */ do_action( 'gm_before_preview' ); -
/** * Fires before the groovy menu welcome page output. */ do_action( 'gm_before_welcome_output' ); -
/** * Fires for custom mobile hamburger. */ do_action( 'gm_custom_mobile_hamburger' ); -
/** * Fires when enqueue_script for Groovy Menu */ do_action( 'gm_enqueue_script_actions' ); -
/** * Fires when enqueue_script admin for Groovy Menu */ do_action( 'gm_enqueue_script_admin_actions' ); -
/** * Can change logo image alt by key. */ apply_filters( 'gm_logo_change_alt_by_key', $img_alt, $key, $attach_id ); -
/** * Can change logo image src by key. */ apply_filters( 'gm_logo_change_src_by_key', $img_src, $key, $attach_id ); -
/** * Fires before groovy menu mobile minicart. */ do_action( 'gm_mobile_before_minicart' ); -
/** * Fires at the groovy menu mobile toolbar end. */ do_action( 'gm_mobile_toolbar_end' ); -
/** * Fires in <head> the groovy menu preview output. */ do_action( 'gm_preview_head_output' ); -
/** * Fires at the toolbar left as first element output. */ do_action( 'gm_toolbar_left_first' ); -
/** * Fires at the toolbar left as last element output. */ do_action( 'gm_toolbar_left_last' ); -
/** * Fires at the toolbar right as first element output. */ do_action( 'gm_toolbar_right_first' ); -
/** * Fires at the toolbar right as last element output. */ do_action( 'gm_toolbar_right_last' ); -
/** * Fires when groovy menu uninstall. */ do_action( 'gm_uninstall_action' ); -
/** * Fires at the end of groovy menu uninstall process. */ do_action( 'gm_uninstall_action_end' ); -
apply_filters( 'wpml_translate_single_string', $menu_button_text, 'groovy-menu', 'Global settings - Menu button text' ); -
apply_filters( 'the_title', $item->title, $item->ID ); -
apply_filters( 'the_content', $raw_content ); -
apply_filters( 'wpml_home_url', $home_url ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_timer ); -
do_action( 'gm_add_virtual_page', $this ); -
do_action( 'parse_request', $wp ); -
apply_filters( 'template_include', apply_filters( 'virtual_page_template', $template ) ); -
do_action( 'template_redirect' ); -
apply_filters( 'the_posts', array( $this->matched->asWpPost() ), $wp_query ); -
apply_filters( 'virtual_page_template', $template ); -
do_action( 'wp', $wp ); -
do_action( 'wpml_add_language_selector' ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_object_id', $post_id, 'gm_menu_block', true );
Generated from Groovy Menu Plugin (Free)'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: