Inventory_Presser_Photo_Numberer
Contents
Description Description
If a user uploads a photo to a vehicle in the dashboard, it needs meta data that tells this plugin how to order that photo among the others during display. This class sets that and other meta values, including the VIN, and md5 hash checksum of the photo file. If it determines a photo upload is the first photo to be attached to a vehicle, that photo is set as the featured image for the vehicle post.
Source Source
File: includes/class-photo-numberer.php
Expand full source code Collapse full source code View on Github
Methods Methods
- add_hooks — hooks
- add_sequence_number_to_titles
- hooks — hooks
- maybe_number_photo — maybe_number_photo
- renumber_photos — renumber_photos
- save_meta_hash — save_meta_hash
- save_meta_photo_number — save_meta_photo_number
- save_meta_vin — save_meta_vin