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.


Top ↑

Return Return

(void)


Top ↑

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 );
	}