Inventory_Presser_WP_All_Import::number_photos( int $post_id, int $attachment_id )

Add a sequence number and other meta to vehicle photos.


Parameters Parameters

$post_id

(int) (Required) The post ID that’s being imported.

$attachment_id

(int) (Required) The attachment ID.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/integrations/class-wp-all-import.php

	public function number_photos( $post_id, $attachment_id ) {
		// The maybe_number_photo() method checks if the parent is a vehicle.
		Inventory_Presser_Photo_Numberer::maybe_number_photo( $attachment_id );
	}