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('DISALLOW_FILE_MODS',true); |
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
| function filter_admin_menues() { | |
| // If administrator then do nothing | |
| if (current_user_can('activate_plugins')) return; | |
| // Remove main menus | |
| $main_menus_to_stay = array( | |
| // Dashboard | |
| 'index.php', |
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 | |
| const API_KEY = "YOUR API KEY HERE"; | |
| const API_URL = "https://api.cloudways.com/api/v1"; | |
| const EMAIL = "YOUR EMAIL GOES HERE"; | |
| /* examples | |
| const BranchName = "master"; | |
| const GitUrl = "[email protected]:user22/repo_name.git"; | |
| */ |