Warning: This method has been deprecated. Use invp_get_the_photo_count() instead.
Inventory_Presser_Vehicle::photo_count()
photo_count
Description Description
Returns the number of image attachments to this post.
Return Return
(int) The number of attachments to this post.
Source Source
File: includes/class-vehicle.php
function photo_count() { return invp_get_the_photo_count( $this->post_ID ); }
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
12.0.0 | Introduced. |