Add player statistics to template selector

This commit is contained in:
Brian Miyaji
2015-03-23 22:02:27 +11:00
parent a1ca500ea3
commit 9324fcfaa0
2 changed files with 22 additions and 4 deletions

View File

@@ -4,10 +4,11 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.6
* @version 1.7.3
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( get_option( 'sportspress_player_show_statistics', 'yes' ) === 'no' ) return;
if ( ! isset( $id ) )
$id = get_the_ID();