woocommerce_allow_marketplace_suggestions filter-hook . WC 1.0
User can disabled all suggestions via filter.
Usage
add_filter( 'woocommerce_allow_marketplace_suggestions', 'filter_function_name_3891' ); function filter_function_name_3891( $true ){ // filter... return $true; }
- $true
- -
Where the hook is called
woocommerce_allow_marketplace_suggestions
woocommerce/includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php 187
return apply_filters( 'woocommerce_allow_marketplace_suggestions', true );