15 lines
250 B
PHP
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);
|
|
}
|