* @license Apache License, Version 2.0 */ /** * Template function: Current sponsored image label * * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE * @return string * @since 1.7 */ function pzdc_spimage_label($echo = TRUE) { global $PraizedCommunity; return $PraizedCommunity->tpt_attribute_helper('spimage', 'label', $echo); } /** * Template function: Current sponsored image source url (ie: img link) * * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE * @return string * @since 1.7 */ function pzdc_spimage_source_url($echo = TRUE) { global $PraizedCommunity; return $PraizedCommunity->tpt_attribute_helper('spimage', 'source_url', $echo); } /** * Template function: Current sponsored image target url (ie: destination link) * * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE * @return string * @since 1.7 */ function pzdc_spimage_target_url($echo = TRUE) { global $PraizedCommunity; return $PraizedCommunity->tpt_attribute_helper('spimage', 'target_url', $echo); } ?>