Move shit around for no reason
This commit is contained in:
12
globals.php
12
globals.php
@@ -1,10 +1,4 @@
|
||||
<?php
|
||||
$sportspress_options = array(
|
||||
'settings' => array(
|
||||
'sp_event_team_count' => 2,
|
||||
)
|
||||
);
|
||||
|
||||
$sportspress_texts = array(
|
||||
'sp_team' => array(
|
||||
'Enter title here' => __( 'Team', 'sportspress' ),
|
||||
@@ -57,6 +51,12 @@ $sportspress_thumbnail_texts = array(
|
||||
)
|
||||
);
|
||||
|
||||
$sportspress_options = array(
|
||||
'settings' => array(
|
||||
'sp_event_team_count' => 2,
|
||||
)
|
||||
);
|
||||
|
||||
foreach( $sportspress_options as $optiongroupkey => $optiongroup ) {
|
||||
foreach( $optiongroup as $key => $value ) {
|
||||
if ( get_option( $key ) === false )
|
||||
|
||||
Reference in New Issue
Block a user