Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › How to add image source into a custom field? › Reply To: How to add image source into a custom field?
April 2, 2021 at 5:11 pm
#32535
Participant
Hello! Here is what YITH support told me about how to get $vendor
Hi Daniel,
you can use this:
$vendor = yith_get_vendor( $term_id, ‘vendor’ );
and in add you can check if this is a valid vendor with this method
$vendor->is_valid()
Is this enough Ernest to get image from vendor and be shown in your ASP plugin?
Thanks