Last active
December 14, 2015 04:59
-
-
Save caseysoftware/5032036 to your computer and use it in GitHub Desktop.
This is only part of functions.php - You can view this file in context here: https://github.com/caseysoftware/upgrading-google-voice-with-Twilio
This file contains hidden or 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 | |
| // There is not the entire file, download the full package from Github. | |
| { | |
| if (in_array($number, $whitelist)) { | |
| return true; | |
| } | |
| $currentHour = date('G'); | |
| if (($starttime <= $currentHour) && ($currentHour < $endtime)) { | |
| return true; | |
| } | |
| return false; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment