WordPress filter hook

ddfw_turbo_enabled_for_page

Fired by 13 WordPress plugins, running on 400+ sites between them.

“Filters whether DDFW Turbo in-place navigation is enabled for one dashboard.”

How to use ddfw_turbo_enabled_for_page

It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'ddfw_turbo_enabled_for_page', function( $value, $plugin_dashboard_slug ) {
	// Change $value here.
	return $value;
}, 10, 2 );

Argument names come from Affiliates for WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

13 plugins that fire ddfw_turbo_enabled_for_page

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Affiliates for WooCommerce icon Affiliates for WooCommerce300+ installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  2. Order via Chat for WooCommerce icon Order via Chat for WooCommerce30+ installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  3. Wallet & Store Credit for WooCommerce icon Wallet & Store Credit for WooCommerce20+ installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  4. MultiPOS icon MultiPOS20+ installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  5. LoyaltyX icon LoyaltyX20+ installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  6. Progressive Web App icon Progressive Web App10+ installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  7. Prescription for WooCommerce icon Prescription for WooCommerceFewer than 10 installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  8. Pre-Order for WooCommerce with Release Date & Countdown icon Pre-Order for WooCommerce with Release Date & CountdownFewer than 10 installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  9. Buy Now Pay Later for WooCommerce icon Buy Now Pay Later for WooCommerceFewer than 10 installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  10. Hide Price for WooCommerce icon Hide Price for WooCommerceFewer than 10 installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  11. Order Communication for WooCommerce icon Order Communication for WooCommerceFewer than 10 installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  12. Returns Portal & RMA for WooCommerce icon Returns Portal & RMA for WooCommerceFewer than 10 installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135
  13. AR for WooCommerce icon AR for WooCommerceFewer than 10 installs apply_filters( 'ddfw_turbo_enabled_for_page', true, $this->plugin_dashboard_slug ) devdiggers-framework/includes/class-ddfw-plugin-dashboard.php:135

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.