* @license Apache License, Version 2.0 */ /** * Template function: Tests if the current merchant truly has a sponsored images * list. Will only work in the right views (ie: individual merchant show, not * listings) * * ... * * @return boolean * @since 1.7 */ function pzdc_has_spimages() { global $PraizedCommunity; return $PraizedCommunity->tpt_has_spimages(); } /** * Template function: Praized equivalent of the WP "the_loop" for the current * merchant's sponsored images list, usually used in while loop. Will only work * in the right views (ie: individual merchant show, not listings) * * ... * * @return boolean * @since 1.7 */ function pzdc_spimages_loop() { global $PraizedCommunity; return $PraizedCommunity->tpt_spimages_loop(); } /** * Template function: Tests if there is a next entry in the current loop * * ... * * @return boolean * @since 1.7 */ function pzdc_has_next_spimage() { global $PraizedCommunity; return $PraizedCommunity->tpt_has_next_spimage; } ?>