null, 'sp_season' => null ) ); foreach ( $taxonomies as $taxonomy => $post_type ): $terms = get_the_terms( $id, $taxonomy ); if ( $terms ): $obj = get_taxonomy( $taxonomy ); $term = array_shift( $terms ); $data[ $obj->labels->singular_name ] = $term->name; endif; endforeach; if ( 'yes' === get_option( 'sportspress_event_show_day', 'yes' ) ) { $day = get_post_meta( $id, 'sp_day', true ); if ( '' !== $day ) { $data[ __( 'Match Day', 'sportspress' ) ] = $day; } } $data = apply_filters( 'sportspress_event_details', $data, $id ); if ( ! sizeof( $data ) ) return; ?>

$value ): ?>