Block Animations, Motion & Scroll Effects 3.8.1 has 9 actions and 35 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 Block Animations, Motion & Scroll Effects fires an action
add_action( 'gkt_assets_detector_missing_handle', function( $handle, $type ) {
// Your code runs here.
}, 10, 2 );
// Change a value Block Animations, Motion & Scroll Effects is about to use
add_filter( 'gkt_custom_typography', function( $value ) {
// Change $value here.
return $value;
}, 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
-
/** * Fires when a detected asset handle is not registered. */ do_action( 'gkt_assets_detector_missing_handle', $handle, $type ); -
gkt_custom_typography
filterapply_filters( 'gkt_custom_typography', array() ); -
gkt_fonts_list
filterapply_filters( 'gkt_fonts_list', array() ); -
gkt_assets_store
actiondo_action( 'gkt_assets_store', $name, $value, $type, $priority ); -
apply_filters( 'gkt_enqueue_plugin_gist_simple', true ); -
gkt_enqueue_plugin_ivent
filterapply_filters( 'gkt_enqueue_plugin_ivent', true ); -
gkt_enqueue_plugin_jarallax
filterapply_filters( 'gkt_enqueue_plugin_jarallax', true ); -
apply_filters( 'gkt_enqueue_plugin_lottie_player', true ); -
gkt_enqueue_plugin_luxon
filterapply_filters( 'gkt_enqueue_plugin_luxon', true ); -
gkt_enqueue_plugin_motion
filterapply_filters( 'gkt_enqueue_plugin_motion', true ); -
enqueue_block_assets
actiondo_action( 'enqueue_block_assets' ); -
enqueue_block_editor_assets
actiondo_action( 'enqueue_block_editor_assets' ); -
ghostkit_parse_blocks
actiondo_action( 'ghostkit_parse_blocks', $blocks, $location, $is_reusable, $is_inner_blocks ); -
gkt_after_assets_register
actiondo_action( 'gkt_after_assets_register' ); -
gkt_before_assets_register
actiondo_action( 'gkt_before_assets_register' ); -
gkt_block_custom_styles
filterapply_filters( 'gkt_block_custom_styles', '', $block ); -
gkt_breakpoint_lg
filterapply_filters( 'gkt_breakpoint_lg', self::get_default_breakpoint_lg() ); -
gkt_breakpoint_md
filterapply_filters( 'gkt_breakpoint_md', self::get_default_breakpoint_md() ); -
gkt_breakpoint_sm
filterapply_filters( 'gkt_breakpoint_sm', self::get_default_breakpoint_sm() ); -
gkt_breakpoint_xs
filterapply_filters( 'gkt_breakpoint_xs', self::get_default_breakpoint_xs() ); -
apply_filters( 'gkt_custom_css_allow_js_fallback', self::$already_added_custom_assets, $name, $css ); -
gkt_default_breakpoint_lg
filterapply_filters( 'gkt_default_breakpoint_lg', self::$default_lg ); -
gkt_default_breakpoint_md
filterapply_filters( 'gkt_default_breakpoint_md', self::$default_md ); -
gkt_default_breakpoint_sm
filterapply_filters( 'gkt_default_breakpoint_sm', self::$default_sm ); -
gkt_default_breakpoint_xs
filterapply_filters( 'gkt_default_breakpoint_xs', self::$default_xs ); -
gkt_detect_block_assets
filterapply_filters( 'gkt_detect_block_assets', $assets, $block, $context, $block_content ); -
gkt_enqueue_google_recaptcha
filterapply_filters( 'gkt_enqueue_google_recaptcha', true ); -
gkt_enqueue_plugin_swiper
filterapply_filters( 'gkt_enqueue_plugin_swiper', true ); -
apply_filters( "gkt_extension_{$block_extension_config['name']}_render_block", $block_content, $block, $block_type ); -
gkt_extension_effects_data
filterapply_filters( 'gkt_extension_effects_data', $effects_data, $block_content, $block, $block_type ); -
apply_filters( 'gkt_extension_effects_tag_processor', $processor, $effects_data, $block_content, $block, $block_type ); -
gkt_form_email_after_send
actiondo_action( 'gkt_form_email_after_send', $form_id, $attributes ); -
gkt_form_email_before_send
actiondo_action( 'gkt_form_email_before_send', $form_id, $attributes ); -
gkt_global_data
filterapply_filters( 'gkt_global_data', $global_data ); -
gkt_icons_list
filterapply_filters( 'gkt_icons_list', array() ); -
apply_filters( 'gkt_parse_blocks_content_sources', array() ); -
gkt_parse_blocks_methods
filterapply_filters( 'gkt_parse_blocks_methods', current_theme_supports( 'block-templates' ) ? array( 'modern' ) : array( 'classic' ) ); -
gkt_recaptcha_threshold
filterapply_filters( 'gkt_recaptcha_threshold', 0.5 ); -
apply_filters( 'gkt_recaptcha_verify_response', $verified, $response ); -
gkt_rest_get_custom_fonts
filterapply_filters( 'gkt_rest_get_custom_fonts', $fonts ); -
gkt_rest_update_custom_fonts
filterapply_filters( 'gkt_rest_update_custom_fonts', $new_fonts ); -
gkt_shapes_list
filterapply_filters( 'gkt_shapes_list', array() ); -
the_content
filterapply_filters( 'the_content', $post->post_content ); -
widget_title
filterapply_filters( 'widget_title', $instance['title'] );
Generated from Block Animations, Motion & Scroll Effects'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: