Move widget, templates, libraries and functions into includes directory

This commit is contained in:
Brian Miyaji
2014-03-25 00:53:11 +11:00
parent 6db3e82d66
commit 73f5a2468d
29 changed files with 98 additions and 239 deletions

View File

@@ -0,0 +1,14 @@
<?php
if ( !function_exists( 'sportspress_event_staff' ) ) {
function sportspress_event_staff( $id = null ) {
if ( ! $id )
$id = get_the_ID();
$staff = (array)get_post_meta( $id, 'sp_staff', false );
$output = '';
return apply_filters( 'sportspress_event_staff', $output );
}
}