Option Types — hooks
18 hooks — 1 actions · 17 filters.
| Hook | Type | Summary |
|---|---|---|
fw_icon_lottie_enabled | filter | Filters whether Lottie icon technology is enabled (panel, player runtime, .json upload); default off, flipped on by the Animated Icons extension. |
fw_icon_pack_catalog_url | filter | Filters the URL of the installable icon-pack catalog.json, so a host can point at a mirror or CDN. |
fw_icon_raster_enabled | filter | Filters whether animated raster icons (GIF/APNG/WebP) are surfaced as a supported technology hint; default off. |
fw_icon_rive_enabled | filter | Filters whether Rive icon technology is enabled (panel, canvas runtime, .riv upload); default off, flipped on by the Animated Icons extension. |
fw_icon_svg_animation_enabled | filter | Filters whether SVG icons keep their SMIL animation tags instead of being stripped by the sanitizer; default off. |
fw_icon_svg_pack_install_dir | filter | Filters the absolute install root path where on-demand icon packs are written under wp-content/uploads. |
fw_icon_svg_packs | filter | Filters the registry of built-in SVG icon packs (id => title, slug, svg_open), allowing more packs to be registered. |
fw_option_type_background_pro_color_palette | filter | Filters the preset color palette offered by the Background Pro option type's color picker. |
fw_option_type_spacing_scale | filter | Filters the spacing option type's scale array so a theme or extension can supply its own spacing steps. |
fw_option_type_typography_v2_google_fonts | filter | Filters the Google fonts list used by the typography option type before it is cached. |
fw_option_type_typography_v2_standard_fonts | filter | Filters the list of standard/web-safe fonts offered by the typography option type. |
fw:option_type:icon-v3:filter_packs | filter | Filters the list of icon pack names the icon-v3 option type makes available. |
fw:option_type:icon-v3:packs | filter | Filters the registered icon packs for the icon-v3 option type. |
fw:option-type:addable-box:limit-container-types | filter | Filters which container types are allowed inside an addable-box option (default: groups only). |
fw:option-type:addable-popup:value-from-input | filter | For e.g. option type 'unique' needs to execute _get_value_from_input() for each option to prevent duplicate values |
fw:option-type:multi-picker:fw-storage:process-inner-options | filter | Filters whether the multi-picker runs storage_load on its inner choice options. |
fw:option-type:multi-select:query_posts | filter | Filters the WP_Query args used by the multi-select option's post autocomplete lookup. |
fw:option-type:wp-editor:enqueue-scripts | action | Fires after the wp-editor option type enqueues its styles, letting code enqueue related scripts. |
fw_icon_lottie_enabled
🧪 filter
Filters whether Lottie icon technology is enabled (panel, player runtime, .json upload); default off, flipped on by the Animated Icons extension.
add_filter( 'fw_icon_lottie_enabled', $callback );
Fired in: framework/includes/option-types/icon/includes/pack-installer.php:891
fw_icon_pack_catalog_url
🧪 filter
Filters the URL of the installable icon-pack catalog.json, so a host can point at a mirror or CDN.
add_filter( 'fw_icon_pack_catalog_url', $callback );
Fired in: framework/includes/option-types/icon/includes/pack-installer.php:34
fw_icon_raster_enabled
🧪 filter
Filters whether animated raster icons (GIF/APNG/WebP) are surfaced as a supported technology hint; default off.
add_filter( 'fw_icon_raster_enabled', $callback );
Fired in: framework/includes/option-types/icon/includes/pack-installer.php:948
fw_icon_rive_enabled
🧪 filter
Filters whether Rive icon technology is enabled (panel, canvas runtime, .riv upload); default off, flipped on by the Animated Icons extension.
add_filter( 'fw_icon_rive_enabled', $callback );
Fired in: framework/includes/option-types/icon/includes/pack-installer.php:903
fw_icon_svg_animation_enabled
🧪 filter
Filters whether SVG icons keep their SMIL animation tags instead of being stripped by the sanitizer; default off.
add_filter( 'fw_icon_svg_animation_enabled', $callback );
Fired in: framework/includes/option-types/icon/includes/pack-installer.php:933
fw_icon_svg_pack_install_dir
🧪 filter
Filters the absolute install root path where on-demand icon packs are written under wp-content/uploads.
add_filter( 'fw_icon_svg_pack_install_dir', $callback );
Fired in: framework/includes/option-types/icon/includes/svg-packs.php:52
fw_icon_svg_packs
🧪 filter
Filters the registry of built-in SVG icon packs (id => title, slug, svg_open), allowing more packs to be registered.
add_filter( 'fw_icon_svg_packs', $callback );
Fired in: framework/includes/option-types/icon/includes/svg-packs.php:27
fw_option_type_background_pro_color_palette
🧪 filter
Filters the preset color palette offered by the Background Pro option type's color picker.
add_filter( 'fw_option_type_background_pro_color_palette', $callback );
Fired in: framework/includes/option-types/background-pro/class-fw-option-type-background-pro.php:267
fw_option_type_spacing_scale
🧪 filter
Filters the spacing option type's scale array so a theme or extension can supply its own spacing steps.
add_filter( 'fw_option_type_spacing_scale', $callback );
Fired in: framework/includes/option-types/spacing/class-fw-option-type-spacing.php:108
fw_option_type_typography_v2_google_fonts
🧪 filter
Filters the Google fonts list used by the typography option type before it is cached.
add_filter( 'fw_option_type_typography_v2_google_fonts', $callback );
Fired in: framework/includes/option-types/typography/class-fw-option-type-typography.php:110
fw_option_type_typography_v2_standard_fonts
🧪 filter
Filters the list of standard/web-safe fonts offered by the typography option type.
add_filter( 'fw_option_type_typography_v2_standard_fonts', $callback );
Fired in: framework/includes/option-types/typography/class-fw-option-type-typography.php:91
fw:option_type:icon-v3:filter_packs
🧪 filter
Filters the list of icon pack names the icon-v3 option type makes available.
add_filter( 'fw:option_type:icon-v3:filter_packs', $callback );
Fired in: framework/includes/option-types/icon/includes/class-fw-icon-packs-loader.php:359
fw:option_type:icon-v3:packs
🧪 filter
Filters the registered icon packs for the icon-v3 option type.
add_filter( 'fw:option_type:icon-v3:packs', $callback );
Fired in: framework/includes/option-types/icon/includes/class-fw-icon-packs-loader.php:94
fw:option-type:addable-box:limit-container-types
🧪 filter
Filters which container types are allowed inside an addable-box option (default: groups only).
add_filter( 'fw:option-type:addable-box:limit-container-types', $callback );
Fired in: framework/includes/option-types/addable-box/class-fw-option-type-addable-box.php:121
fw:option-type:addable-popup:value-from-input
🧪 filter
For e.g. option type 'unique' needs to execute _get_value_from_input() for each option to prevent duplicate values
add_filter( 'fw:option-type:addable-popup:value-from-input', $callback );
Fired in: framework/includes/option-types/addable-popup/class-fw-option-type-addable-popup.php:166
fw:option-type:multi-picker:fw-storage:process-inner-options
🧪 filter · 2 call sites
Filters whether the multi-picker runs storage_load on its inner choice options.
add_filter( 'fw:option-type:multi-picker:fw-storage:process-inner-options', $callback );
Fired in: framework/includes/option-types/multi-picker/class-fw-option-type-multi-picker.php:581
fw:option-type:multi-select:query_posts
🧪 filter
Filters the WP_Query args used by the multi-select option's post autocomplete lookup.
add_filter( 'fw:option-type:multi-select:query_posts', $callback );
Fired in: framework/includes/option-types/multi-select/class-fw-option-type-multi-select.php:535
fw:option-type:wp-editor:enqueue-scripts
🎬 action
Fires after the wp-editor option type enqueues its styles, letting code enqueue related scripts.
add_action( 'fw:option-type:wp-editor:enqueue-scripts', $callback );
Fired in: framework/includes/option-types/wp-editor/class-fw-option-type-wp-editor.php:158
← Back to Hooks overview