#21080
Soft79
Keymaster

Tags are not custom fields. Although tags are not supported by the core plugin I can provide you with this snippet that adds tag usage restrictions to coupons:

1. Store this file as wp-content/themes/YOUR_CHILD_THEME/includes/WJECF_Plugin_Custom_Taxonomies.php : https://gist.github.com/soft79/1ad78a05405cc5a9d8359b88ed3d0494

2. Append this snippet to wp-content/themes/YOUR_CHILD_THEME/functions.php:


add_action( 'wjecf_init_plugins', function () {
    require_once( 'includes/WJECF_Plugin_Custom_Taxonomies.php' );
    WJECF()->add_plugin( 'WJECF_Plugin_Custom_Taxonomies' );
    add_filter( 'wjecf_taxonomies',fn( $taxonomies ) => [ 'product_tag'], 10, 1 );
} );