Does hivepress deprecated get_images__url() method from class HivePress\Models\Listing ?
Then how come get_image_url( $size ) method in HivePress\Models\Listing_Category returns get_images__url() ?
Does hivepress deprecated get_images__url() method from class HivePress\Models\Listing ?
Then how come get_image_url( $size ) method in HivePress\Models\Listing_Category returns get_images__url() ?
Yes, we removed this function in the recent update since it duplicated the Attachment model functionality (calling $listing->get_images__url()
is the same as calling $image->get_url()
for each of the image attachments, implemented as Attachment models and get_url()
method was already available). This caused a few issues though, so we’ll probably add this function back as a temporary fix.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.