WordPress filter hook
divi_ghoster_ghosted_theme
Fired by 4 WordPress plugins, running on 24K+ sites between them.
How to use divi_ghoster_ghosted_theme
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'divi_ghoster_ghosted_theme', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from Cool Timeline (Horizontal & Vertical Timeline)'s source. Other plugins may pass different values: check the call in the plugin you're targeting below.
4 plugins that fire divi_ghoster_ghosted_theme
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Cool Timeline (Horizontal & Vertical Timeline)20,000+ installs
apply_filters( 'divi_ghoster_ghosted_theme', '' )admin/cp-onboarding/onboarding-config.php:603 -
Timeline Module for Divi3,000+ installs
apply_filters( 'divi_ghoster_ghosted_theme', '' )timeline-module-for-divi.php:610 -
Language Switcher for Polylang1,000+ installs
apply_filters( 'divi_ghoster_ghosted_theme', '' )language-switcher-for-divi-polylang.php:444 -
Popular Posts for DiviFewer than 10 installs
apply_filters( 'divi_ghoster_ghosted_theme', '' )includes/admin.php:55
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.