woocommerce_marketplace_suppress_promotions
woocommerce_marketplace_suppress_promotions
Appears in: woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3, woocommerce.9.3.1
Hook Type: filter
Displaying hooks found in version: woocommerce.9.3.1apply_filters('woocommerce_marketplace_suppress_promotions') is found 3 times:
- /includes/admin/class-wc-admin-marketplace-promotions.php line 91
* Filter to suppress the requests for and showing of marketplace promotions. * * @since 8.8 */ if ( apply_filters( 'woocommerce_marketplace_suppress_promotions', false ) ) { return array(); } $promotions = get_transient( self::TRANSIENT_NAME ); if ( ! $promotions ) { return array();
- /includes/admin/class-wc-admin-marketplace-promotions.php line 115
* Filter to suppress the requests for and showing of marketplace promotions. * * @since 8.8 */ if ( apply_filters( 'woocommerce_marketplace_suppress_promotions', false ) ) { return array(); } // Fetch promotions from the API. $fetch_options = array( 'auth' => true,
- /includes/admin/class-wc-admin-marketplace-promotions.php line 178
* Filter to suppress the requests for and showing of marketplace promotions. * * @since 8.8 */ if ( apply_filters( 'woocommerce_marketplace_suppress_promotions', false ) ) { return; } $promotions = get_transient( self::TRANSIENT_NAME ); if ( ! $promotions ) { return;