Last active
June 16, 2021 22:41
-
-
Save thaboklass/f2a78ad9c9ad322ede89844b18486596 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Add options for new activation | |
* | |
* This checks whether or not backend options that define the basic | |
* functionality have been added and if not, they are added | |
* with what have been determined as the most efficient defaults | |
* | |
* @param none | |
* @return none | |
*/ | |
public function robber_baron_tv_add_options() { | |
if (!get_option('robber_baron_tv_email_address')) { | |
add_option('robber_baron_tv_email_address', ''); | |
add_option('robber_baron_tv_connected', ''); | |
add_option('robber_baron_tv_user_id', ''); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment