woocommerce_allow_marketplace_suggestions, true

woocommerce_allow_marketplace_suggestions, true

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_allow_marketplace_suggestions, true') is found 2 times:

  • /includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php line 191
    			return false;
    		}
    
    		// User can disabled all suggestions via filter.
    		return apply_filters( 'woocommerce_allow_marketplace_suggestions', true );
    	}
    
    	/**
    	 * Pull suggestion data from options. This is retrieved from a remote endpoint.
    	 *
    	 * @return array of json API data
    
  • /src/Internal/Admin/WcPayWelcomePage.php line 82
    		 * User can disable all suggestions via filter.
    		 *
    		 * @since 3.6.0
    		 */
    		if ( ! apply_filters( 'woocommerce_allow_marketplace_suggestions', true ) ) {
    			return false;
    		}
    
    		$incentive = $this->get_incentive();
    		if ( empty( $incentive ) ) {
    			return false;