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