Inventory_Presser_Photo_Numberer::maybe_number_photo( int $post_id )
maybe_number_photo
Contents
Description Description
Filter callback on add_attachment. Decides whether to write meta values on attachments if they are uploaded to vehicles. If this method determines the photo sequence number to be 1, the attachment is also set as the featured image.
Parameters Parameters
- $post_id
-
(Required)
Return Return
(void)
Source Source
File: includes/class-photo-numberer.php
Expand full source code Collapse full source code View on Github