Add positions to statistics and metrics

This commit is contained in:
Brian Miyaji
2014-01-21 20:35:13 +11:00
parent 08ce1eea27
commit 9cde21de71
33 changed files with 2922 additions and 2685 deletions

View File

@@ -0,0 +1,17 @@
<?php
if ( !function_exists( 'sportspress_event_staff' ) ) {
function sportspress_event_staff( $id = null ) {
if ( ! $id ):
global $post;
$id = $post->ID;
endif;
$staff = (array)get_post_meta( $id, 'sp_staff', false );
$output = '';
return apply_filters( 'sportspress_event_staff', $output );
}
}