Inventory_Presser_WP_All_Import::number_photos( int $post_id, int $attachment_id )
Add a sequence number and other meta to vehicle photos.
On This Page
Parameters Parameters
- $post_id
-
(int) (Required) The post ID that’s being imported.
- $attachment_id
-
(int) (Required) The attachment ID.
Return Return
(void)
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 ); }
Expand full source codeCollapse full source codeView on Github