Replace global options with individual option check

This commit is contained in:
Brian Miyaji
2014-03-28 21:07:39 +11:00
parent 31ab02b3c1
commit cdab219f41
11 changed files with 8 additions and 31 deletions

View File

@@ -2,8 +2,6 @@
if ( ! isset( $id ) )
$id = get_the_ID();
global $sportspress_options;
$defaults = array(
'show_nationality_flag' => get_option( 'sportspress_player_show_flag', 'yes' ) == 'yes' ? true : false,
);