This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2016-09-28 21:41:25 +02:00

15 lines
250 B
PHP

<?php
// two YARPP-specific Template Tags, to be used in the YARPP-template Loop.
function the_score() {
echo get_the_score();
}
function get_the_score() {
global $post;
$score = $post->score;
return apply_filters('get_the_score', $score);
}