Inventory_Presser_Photo_Numberer::save_meta_photo_number( int $post_id, int $parent_post_id, int $sequence_number = null )


Description Description

Saves a sequence number like 1, 2, or 99 in attachment post meta. This number dictates the order in which the photos will be disabled in sliders and galleries.

Top ↑

Parameters Parameters


(Required) The post ID of the attachment


(Required) The post ID of the vehicle to which $post_id is a child


(Optional) The sequence number to save. Do not provide to append.

Default value: null

Top ↑

Return Return


Top ↑

Source Source

File: includes/class-photo-numberer.php