Dynamic Functionalities 1.7.0 has 19 actions and 44 filters, read directly from its source code on Nov 19, 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 Dynamic Functionalities fires an action
add_action( 'functionalities_after_footer_snippets', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Dynamic Functionalities is about to use
add_filter( 'functionalities_fonts_items', function( $opts ) {
// Change $opts here.
return $opts;
}, 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
-
/** * Filters the font items before CSS generation. */ apply_filters( 'functionalities_fonts_items', $opts['items'] ); -
/** * Filters the component items before CSS generation. */ apply_filters( 'functionalities_components_items', $opts['items'] ); -
/** * Filters whether editor link filtering is enabled. */ apply_filters( 'functionalities_editor_links_enabled', true ); -
/** * Filters whether site schema should be added. */ apply_filters( 'functionalities_schema_enabled', ! empty( $opts['enable_site_schema'] ) ); -
/** * Fires after header snippets are printed. @since 0.8.0 */ do_action( 'functionalities_after_header_snippets' ); -
/** * Filters whether one detector runs. */ apply_filters( 'functionalities_assumption_detection_enabled', $enabled, $key ); -
/** * Filters the detected findings before they are stored. */ apply_filters( 'functionalities_assumption_detection_warnings', array_values( $warnings ) ); -
/** * Fires before header snippets are printed. @since 0.8.0 */ do_action( 'functionalities_before_header_snippets' ); -
/** * Filters the list of block classes to remove. */ apply_filters( 'functionalities_block_cleanup_classes', $classes_to_remove ); -
/** * Filters the content after block classes have been removed. */ apply_filters( 'functionalities_block_cleanup_content', $result, $original ); -
/** * Filters whether block cleanup should run on this request. */ apply_filters( 'functionalities_block_cleanup_enabled', true ); -
/** * Fires before component CSS is output. */ do_action( 'functionalities_components_before_output' ); -
/** * Filters the generated CSS before output. */ apply_filters( 'functionalities_components_css', rtrim( $out ), $items ); -
/** * Filters the post types Content Integrity monitors. */ apply_filters( 'functionalities_content_regression_post_types', $types ); -
/** * Filters a captured snapshot before it is compared or stored. */ apply_filters( 'functionalities_content_regression_snapshot', $snapshot, $post ); -
/** * Fires after a content snapshot has been stored. */ do_action( 'functionalities_content_regression_snapshot_saved', $post_id, $snapshot ); -
/** * Filters the warnings detected for one post. */ apply_filters( 'functionalities_content_regression_warnings', $warnings, $post_id ); -
/** * Filters the allowed post types for editor link suggestions. */ apply_filters( 'functionalities_editor_links_post_types', $allowed ); -
/** * Fires before font CSS is output. */ do_action( 'functionalities_fonts_before_output' ); -
/** * Filters the generated @font-face CSS. */ apply_filters( 'functionalities_fonts_css', $css, $items ); -
/** * Filters how long a resolved exception preset stays cached. */ apply_filters( 'functionalities_link_preset_ttl', 15 * MINUTE_IN_SECONDS ); -
/** * Maximum number of posts to process in a single request. Prevents timeout on * large sites. */ apply_filters( 'functionalities_link_update_batch_limit', 100 ); -
/** * Filters the message shown when feeds are disabled. */ apply_filters( 'functionalities_misc_feeds_disabled_message', \__( 'Feeds are disabled on this site.', 'functionalities' ) ); -
/** * Fires after misc module has processed all options. */ do_action( 'functionalities_misc_init', $opts ); -
/** * Filters individual misc option values. */ apply_filters( "functionalities_misc_option_{$key}", $value ); -
/** * Filters the Prism.js theme CSS URL. */ apply_filters( 'functionalities_misc_prism_theme_url', FUNCTIONALITIES_URL . 'assets/vendor/prism/prism.min.css' ); -
/** * Filters the content after article schema has been applied. */ apply_filters( 'functionalities_schema_article_content', $result, $original ); -
/** * Filters the article schema itemtype. */ apply_filters( 'functionalities_schema_article_itemtype', $opts['article_itemtype'] ?? 'Article' ); -
/** * Fires before output buffering starts. */ do_action( 'functionalities_schema_before_buffer' ); -
/** * Filters the final language attributes output. */ apply_filters( 'functionalities_schema_language_attributes', $output ); -
/** * Filters the site schema itemtype. */ apply_filters( 'functionalities_schema_site_itemtype', $opts['site_itemtype'] ?? 'WebPage' ); -
/** * Filters whether the configured GA4 tag is printed. @since 0.8.0 */ apply_filters( 'functionalities_snippets_ga4_enabled', true, $ga4_id ); -
/** * Filters whether snippets should be output on this page. */ apply_filters( 'functionalities_snippets_output_enabled', true ); -
/** * Filters the list of available icons. */ apply_filters( 'functionalities_svg_icons_list', $icons ); -
/** * Filters the sanitized SVG content before saving. */ apply_filters( 'functionalities_svg_icons_sanitize', $sanitized_svg, $slug ); -
apply_filters( 'functionalities_data_base_dir', WP_CONTENT_DIR . '/functionalities' ); -
apply_filters( 'the_content', $content ); -
do_action( 'edit_post', $post_id, $after ); -
do_action( "edit_post_{$post->post_type}", $post_id, $after ); -
do_action( 'functionalities_admin_dashboard_tools' ); -
apply_filters( 'functionalities_components_file_path', $dir . '/components.css' ); -
do_action( 'functionalities_components_updated', $file, $css ); -
apply_filters( 'functionalities_content_tools_meta_keys', array( '_thumbnail_id', '_wp_page_template' ), $post ); -
apply_filters( 'functionalities_data_probe_url', $url, $canary ); -
apply_filters( 'functionalities_exception_domains', $items ); -
apply_filters( 'functionalities_exception_urls', $items ); -
apply_filters( 'functionalities_json_preset_path', '' ); -
apply_filters( 'functionalities_meta_licenses', array( 'all-rights-reserved' => array( 'rights' => \__( 'All Rights Reserved', 'functionalities' ), 'dc_rights' => sprintf( \__( '© %1$s %2$s. All rights reserved. No reproduction without permission.', 'functionalities' ), gmdate( 'Y' ), $site_name ), 'url' => ! empty( $options['default_license_url'] ) ? $options['default_license_url'] : $home_url . 'disclaimer/', 'name' => \__( 'All Rights Re... ); -
apply_filters( 'functionalities_meta_standalone_schema', $schema, $post ); -
apply_filters( 'functionalities_module_enabled', $enabled, $slug, $options ); -
apply_filters( 'functionalities_pwa_excluded_paths', array( '/wp-admin', '/wp-login.php', '/wp-json', '/wp-cron.php', '/xmlrpc.php' ) ); -
apply_filters( 'functionalities_pwa_manifest', $manifest ); -
do_action( 'functionalities_pwa_manifest_output' ); -
apply_filters( 'functionalities_pwa_runtime_cache_limit', 60 ); -
apply_filters( 'functionalities_pwa_service_worker_config', $config ); -
do_action( 'functionalities_pwa_sw_output' ); -
apply_filters( 'functionalities_redirect_buffer_threshold', 25 ); -
do_action( 'post_updated', $post_id, $after, $post ); -
do_action( 'save_post', $post_id, $after, true ); -
do_action( "save_post_{$post->post_type}", $post_id, $after, true ); -
do_action( 'wp_insert_post', $post_id, $after, true );
Generated from Dynamic Functionalities'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: