Shortcake (Shortcode UI) 0.7.4 has 6 actions and 6 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 Shortcake (Shortcode UI) fires an action
add_action( 'register_shortcode_ui', function( $settings, $editor_id ) {
// Your code runs here.
}, 10, 2 );
// Change a value Shortcake (Shortcode UI) is about to use
add_filter( 'shortcode_ui_fields', function( $fields ) {
// Change $fields here.
return $fields;
}, 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
-
register_shortcode_ui
action/** * Register shortcode UI for shortcodes. */ do_action( 'register_shortcode_ui', $settings, $editor_id ); -
enqueue_shortcode_ui
action/** * Fires after shortcode UI assets have been enqueued. */ do_action( 'enqueue_shortcode_ui' ); -
print_shortcode_ui_templates
action/** * Fires after base shortcode UI templates have been loaded. */ do_action( 'print_shortcode_ui_templates' ); -
/** * Fires after shortcode is rendered in preview. */ do_action( 'shortcode_ui_after_do_shortcode', $shortcode ); -
/** * Fires before shortcode is rendered in preview. */ do_action( 'shortcode_ui_before_do_shortcode', $shortcode ); -
shortcode_ui_fields
filter/** * Filter the available fields. */ apply_filters( 'shortcode_ui_fields', $this->fields ); -
shortcode_ui_loaded_editor
action/** * Fires after shortcode UI assets have been loaded for the editor. */ do_action( 'shortcode_ui_loaded_editor' ); -
shortcode_ui_shortcode_args
filter/** * Filter the Shortcode UI options for all registered shortcodes. */ apply_filters( 'shortcode_ui_shortcode_args', $args, $shortcode_tag ); -
/** * Filter the Shortcode UI options for a specific registered shortcode. */ apply_filters( "shortcode_ui_shortcode_args_{$shortcode_tag}", $args ); -
shortcode_ui_shortcodes
filter/** * Filter the returned shortcode UI configuration parameters. */ apply_filters( 'shortcode_ui_shortcodes', $this->shortcodes ); -
plugin_locale
filterapply_filters( 'plugin_locale', $locale, $domain ); -
term_search_min_chars
filterapply_filters( 'term_search_min_chars', 2, $taxonomy_type, $search );
Generated from Shortcake (Shortcode UI)'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: