Begin SportsPress
Add basic helpers, post types and taxonomies.
This commit is contained in:
14
defaults.php
Normal file
14
defaults.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$sp_options = array(
|
||||
'settings' => array(
|
||||
'sp_event_team_count' => 2,
|
||||
),
|
||||
);
|
||||
|
||||
foreach( $sp_options as $optiongroupkey => $optiongroup ) {
|
||||
foreach( $optiongroup as $key => $value ) {
|
||||
if ( get_option( $key ) === false )
|
||||
update_option( $key, $value );
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user