flowcrafter_upsell_config
Description
Filter the upsell config localized to the editor.
Handy for flipping flow, showPricing, or debug per environment without
editing self::UPSELL_DEFAULT_CONFIG. Unknown keys pass through — the
editor ignores what it doesn’t recognize.
Usage
Change the editor upsell settings.
add_filter( 'flowcrafter_upsell_config', 'my_custom_function' );Parameters
$config
mixed
The default upsell config.
Examples
Change the editor upsell settings
add_filter( 'flowcrafter_upsell_config', function ( $config ) {
$config['showPricing'] = false;
return $config;
} );Since
1.0-beta-1Hook added.