invp_get_the_photo_count( int|null $post_ID = null )
invp_get_the_photo_count
Contents
Description Description
Template tag. Returns the number of images attached to the vehicle post.
Parameters Parameters
- $post_ID
-
(Optional) The post ID of a vehicle. Must be passed when using this method outside the loop.
Default value: null
Return Return
(int)
Source Source
File: includes/template-tags.php
Expand full source code Collapse full source code View on Github