Inventory_Presser_Photo_Numberer::save_meta_photo_number( int $post_id, int $parent_post_id, int $sequence_number = null )
save_meta_photo_number
Contents
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.
Parameters Parameters
- $post_id
-
(Required) The post ID of the attachment
- $parent_post_id
-
(Required) The post ID of the vehicle to which $post_id is a child
- $sequence_number
-
(Optional) The sequence number to save. Do not provide to append.
Default value: null
Return Return
(void)
Source Source
File: includes/class-photo-numberer.php
Expand full source code Collapse full source code View on Github