* @license Apache License, Version 2.0 */ /** * Template function: Tests if a valid hub communities list is set. * @note: should be used before using hub communities related functions. * * @param array $query Optional query for custom template development (see bundled praized-php lib) * @return boolean * @since 2.0 */ function pzdc_has_hub_communities($query = FALSE) { global $PraizedCommunity; return $PraizedCommunity->tpt_has_hub_communities($query); } /** * Template function: Praized equivalent of the WP "the_loop" for the current merchant list, usually used in while loop * * @param array $query Optional query for custom template development (see bundled praized-php lib) * @return boolean * @since 2.0 */ function pzdc_hub_communities_loop($query = FALSE) { global $PraizedCommunity; return $PraizedCommunity->tpt_hub_communities_loop($query); } /** * Template function: Tests if there is a next entry in the current loop * * @return boolean * @since 2.0 */ function pzdc_has_next_hub_community() { global $PraizedCommunity; return $PraizedCommunity->tpt_has_next_hub_community; } ?>