Listing Images Limit based on Price Plan
I've changed the number of images users can upload for a listing to ten by using the define( 'VA_MAX_IMAGES', 10 ); function in my child theme which has worked fine. What I'd like to do is change the amount based on the Price Plans users have selected so for example:
Bronze Listing (free) - 0 Images
Silver Listing (paid) - 5 images
Gold Listing (paid) - 10 images
Does anybody know how to implement this? Any help is greatly appreciated.