Regarding the screenshot I have provided below, I would like to know how I can modify or access the value of the company dropdown using PHP. Screenshot by Lightshot
Hi,
Listings are implemented as a custom “hp_listing” post type, vendors (companies) as a “hp_vendor” post type. Vendor ID is set as the post_parent for listings, so you can change the listing company by updating it (e.g. via wp_update_post or HivePress-specific functions) and changing it’s post_parent ID.
P.S. If you purchased a theme or extension, please enter the license key in the forum profile settings, this will enable the Premium Support badge and ensure a 24-hour turnaround time.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.