I’m having the same issue; should I open a new thread or shall I paste the site info here from the site we’re working on?
Edit: The error_log is not recording any errors in relation to PMPro.
-
This reply was modified 1 year, 10 months ago by Ihsan.
-
This reply was modified 1 year, 10 months ago by Ihsan.
Thread Starter
Ihsan
(@bravox2)
This is working.
The code:
add_filter( 'dokan_ensure_vendor_coupon', '__return_false' );
does work.
The reason why it didn’t work is because the ‘apostrophes’ that were used were a different font/character.
I just copied the code as is from a WordPress support thread which was in the wrong font/character or something, which is why it didn’t work.
Here’s the difference:
add_filter(‘dokan_ensure_vendor_coupon’, ‘__return_false’ );
vs
add_filter('dokan_ensure_vendor_coupon', '__return_false' );
The second line will work. The first won’t.
-
This reply was modified 4 years, 7 months ago by Ihsan.
-
This reply was modified 4 years, 7 months ago by Ihsan.