I need help to apply this WordPress filter...
apply_filters( ‘wcmp_widget_vendor_product_sales_report_days_range’, 7, $requestData, $vendor );
This filter is what has been provided to me by the plugin makers (WC Marketplace) - all they said was "in order to display product sold over 60 days, you have to do custom code. For this use this filter apply_filters( ‘wcmp_widget_vendor_product_sales_report_days_range’, 7, $requestData, $vendor );
and change the value change 7 to 60."
I am new to WordPress coding and am not sure how to go about applying this filter. The only reference to this filter in their plugins code is in this file https://github.com/dualcube/dc-woocommerce-multi-vendor/blob/master/classes/class-wcmp-ajax.php on line 2905.
Any help would be great. I have already looked in the WordPress references but I am clueless.