Skip to main content

Animation Engine — hooks

4 hooks — 0 actions · 4 filters.

HookTypeSummary
fw_model_allow_uploadsfilterFilters whether 3D model (GLB/GLTF) MIME types are added to WordPress's allowed upload types; default true.
fw_shortcode_model_viewer_srcfilterFilters the URL of the vendored <model-viewer> UMD bundle, letting a site swap in a CDN or different version.
fw_shortcode_webgl_three_srcfilterFilters the URL of the vendored Three.js library script for the WebGL Object shortcode, letting a site swap in a CDN.
upw_anim_engine_module_tabsfilterFilters the per-module tabs added to the Animation Engine Theme Settings section.

fw_model_allow_uploads

🧪 filter · 3 call sites

Filters whether 3D model (GLB/GLTF) MIME types are added to WordPress's allowed upload types; default true.

add_filter( 'fw_model_allow_uploads', $callback );

Fired in: framework/extensions/animation-engine/includes/glb-upload.php:61

fw_shortcode_model_viewer_src

🧪 filter

Filters the URL of the vendored <model-viewer> UMD bundle, letting a site swap in a CDN or different version.

add_filter( 'fw_shortcode_model_viewer_src', $callback );

Fired in: framework/extensions/animation-engine/shortcodes/model-viewer/static.php:24

fw_shortcode_webgl_three_src

🧪 filter

Filters the URL of the vendored Three.js library script for the WebGL Object shortcode, letting a site swap in a CDN.

add_filter( 'fw_shortcode_webgl_three_src', $callback );

Fired in: framework/extensions/animation-engine/shortcodes/webgl-object/static.php:24

upw_anim_engine_module_tabs

🧪 filter

Filters the per-module tabs added to the Animation Engine Theme Settings section.

add_filter( 'upw_anim_engine_module_tabs', $callback );

Fired in: framework/extensions/animation-engine/includes/theme-settings.php:88

← Back to Hooks overview