woocommerce_marketplace_suppress_promotions
woocommerce_marketplace_suppress_promotions
Appears in: woocommerce.8.8.3
Hook Type: filter
Displaying hooks found in version: woocommerce.8.8.3apply_filters('woocommerce_marketplace_suppress_promotions') is found 1 times:
- /includes/admin/class-wc-admin-marketplace-promotions.php line 46
* Filter to suppress the requests for and showing of marketplace promotions. * * @since 8.8 */ if ( apply_filters( 'woocommerce_marketplace_suppress_promotions', false ) ) { return; } register_deactivation_hook( WC_PLUGIN_FILE, array( __CLASS__, 'clear_scheduled_event' ) ); // Add the callback for our scheduled action.