Home / How to Restrict Coupons to a Certain User?
Duplicate Snippet

Embed Snippet on Your Site

How to Restrict Coupons to a Certain User?

If you’d like to change the error message for the disallowed users, please add the following snippet to your child theme’s functions.php or through the WPCode plugin

Code Preview
php
<?php
add_filter('acfwp_allowed_customers_error_message','Change_Text');
function Change_Text(){
return __( 'Hey! You did not meet the requirements, reach out to us!.');
}

Comments

Add a Comment