FeatherDash 1.1.0 has 5 actions and 19 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 FeatherDash fires an action
add_action( 'featherdash/loaded', function( $settings ) {
// Your code runs here.
}, 10, 1 );
// Change a value FeatherDash is about to use
add_filter( 'featherdash/dashboard/known_widgets', 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
-
/** * Filters the plugin dashboard widgets listed on the Dashboard tab even before * they're seen: `id => [label, plugin name, plugin file or 'const:NAME']`. */ apply_filters( 'featherdash/dashboard/known_widgets', self::KNOWN_WIDGETS ); -
/** * Filters a documentation link on the settings screen. */ apply_filters( 'featherdash/docs_url', $url, $page ); -
/** * Fires after every module registered its hooks. */ do_action( 'featherdash/loaded', $settings ); -
/** * Filters whether the current visitor skips the maintenance page. By default * users who can edit posts do. */ apply_filters( 'featherdash/maintenance/bypass', current_user_can( self::BYPASS_CAP ) ); -
/** * Filters the Retry-After header of the maintenance page, in seconds. */ apply_filters( 'featherdash/maintenance/retry_after', 3600 ); -
/** * Filters the maintenance page template file. */ apply_filters( 'featherdash/maintenance/template', FEATHERDASH_DIR . 'templates/maintenance.php' ); -
/** * Filters the maintenance page's data. `body` is HTML; `background` and `text` * must stay hex colours and `image` a URL. */ apply_filters( 'featherdash/maintenance/view', $view ); -
/** * Filters the settings FeatherDash runs with: the defaults with the saved * values merged in. Use it to force values in code (per environment, per * site). Forced values are not saved and the settings page still shows the * saved ones. */ apply_filters( 'featherdash/settings', $settings ); -
/** * Fires after settings were imported on the Tools tab. */ do_action( 'featherdash/settings_imported', Settings::instance()->stored() ); -
/** * Fires after all settings and the menu layout were reset to defaults. */ do_action( 'featherdash/settings_reset' ); -
/** * Fires after the settings were saved (settings page, import or code). */ do_action( 'featherdash/settings_saved', ( is_array( $new ) ? $new : [] ), ( is_array( $old ) ? $old : [] ) ); -
/** * Filters whether the admin theme is on. Runs on `plugins_loaded`, so hook it * from a plugin or mu-plugin, not a theme. */ apply_filters( 'featherdash/theme/enabled', (bool) $settings->get( 'admin.theme.enabled', true ) ); -
/** * Filters the screens (screen IDs) shown in a centred column of at most 900px * (1150px for FeatherDash). */ apply_filters( 'featherdash/theme/narrow_screens', self::NARROW_SCREENS ); -
/** * Filters the plugin toolbar items listed on the Toolbar tab even before * they're seen: `id => [label, plugin name, plugin file or 'const:NAME']`. */ apply_filters( 'featherdash/toolbar/known_items', self::KNOWN_NODES ); -
/** * Filters the parameters of gtag('config'), e.g. `['debug_mode' => true]`. */ apply_filters( 'featherdash/tracking/config', [], $id ); -
/** * Filters the Consent Mode defaults sent before the tag loads. Return an empty * array to send none. */ apply_filters( 'featherdash/tracking/consent_defaults', [ 'ad_storage' => 'denied', 'ad_user_data' => 'denied', 'ad_personalization' => 'denied', 'analytics_storage' => 'denied', 'wait_for_update' => 500, ] ); -
/** * Filters whether the GA4 tag is printed on this request. */ apply_filters( 'featherdash/tracking/enabled', $track, $id ); -
/** * Filters whether the Meta Pixel is printed on this request. */ apply_filters( 'featherdash/tracking/meta_pixel_enabled', $track, $id ); -
apply_filters( 'emoji_svg_url', '' ); -
apply_filters( 'emoji_url', '' ); -
do_action( 'featherdash_fs_loaded' ); -
apply_filters( 'featherdash/disable_auto_updates', $disable ); -
apply_filters( 'featherdash/modules', $modules, $settings );
Generated from FeatherDash'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: