Inventory_Presser_Photo_Numberer::maybe_number_photo( int $post_id )

maybe_number_photo


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.


Top ↑

Parameters Parameters

$post_id

(Required)


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-photo-numberer.php