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
| console.log('Hello World'); | |
| //https://stackoverflow.com/questions/5349425/whats-the-fastest-way-to-loop-through-an-array-in-javascript | |
| const timer = function* (time) { | |
| yield new Date().getTime() / 1000 - time | |
| } | |
| const timing = timer(new Date().getTime() / 1000); |
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
| define('DEFAULT_PATH', plugin_dir_path(__FILE__)); | |
| foreach (glob(DEFAULT_PATH . "templates/*.php") as $file) { | |
| include_once $file; | |
| } |
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
| add_action( 'tgmpa_register', 'register_required_plugins' ); | |
| // This function is called from the above hook | |
| function register_required_plugins() | |
| { | |
| // The plugins array allows us to define multiple plugins we want to include. | |
| // The commented out example shows how we can include and activation a bundled | |
| // plugin zip file in our theme. | |
| $plugins = array( | |
| /* array( |
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
| algeria : Algeria | |
| bahrain : Bahrain | |
| comoros : Comoros | |
| djibouti : Djibouti | |
| egypt : Egypt | |
| iraq : Iraq | |
| jordan : Jordan | |
| kuwait : Kuwait | |
| lebanon : Lebanon | |
| libya : Libya |