Inventory_Presser_Photo_Numberer::delete_photo_transients( int $post_id )
Deletes transients that store vehicle photos to help load galleries.
On This Page
Parameters Parameters
- $post_id
-
(int) (Required) The post ID of a vehicle.
Return Return
(void)
Source Source
File: includes/class-photo-numberer.php
public static function delete_photo_transients( $post_id ) { delete_transient( 'invp_get_the_photos_images_' . $post_id ); delete_transient( 'invp_get_the_photos_image_urls_' . $post_id ); }
Expand full source codeCollapse full source codeView on Github