invp_get_the_type( int|null $post_ID = null )

invp_get_the_type


Parameters Parameters

$post_ID

(int|null) (Optional) The post ID of a vehicle. Must be passed when using this method outside the loop.

Default value: null


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/template-tags.php

 * @param  int|null $post_ID     The post ID of a vehicle. Must be passed when using this method outside the loop.
 * @return string
 */
function invp_get_the_trim( $post_ID = null ) {
	if ( empty( $post_ID ) ) {
		$post_ID = get_the_ID();