fc_adb_enable_compat_theme_{theme_slug}

Back to list of all filter and action hooks for Address Book for WooCommerce.

Description #

Controls whether Address Book should load compatibility features for a specific theme.

Modifiers #

  • {$theme_slug} (string) The theme folder name/slug. Example: twentytwentyfive.

Parameters #

  • $enabled (bool) Whether the compatibility features for this theme should be enabled or not. Defaults to true.

Examples #

/**
* Disable compatibility for a specific theme
*/
add_filter( 'fc_adb_enable_compat_theme_twentytwentyfive', '__return_false', 10 );

What are your feelings

Updated on December 15, 2025