/** * Template tag version of dpa_get_achievement_unlocked_ago() * * @uses dpa_get_achievement_unlocked_ago() * @since 2.0 */ function dpa_achievement_unlocked_ago() { echo dpa_get_achievement_unlocked_ago(); }
</p> </div> <div class="item"> <div class="item-title"><a href="<?php dpa_achievement_slug_permalink(); ?> "><?php dpa_achievement_name(); ?> </a></div> <?php if (dpa_is_achievement_unlocked()) { ?> <div class="item-meta"><span class="activity"><?php printf(__("Unlocked %s", 'dpa'), dpa_get_achievement_unlocked_ago()); ?> </span></div> <?php } ?> <div class="item-desc"><?php dpa_achievement_description_excerpt(); ?> </div> <?php do_action('dpa_directory_achievements_item'); ?> </div>