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 (window, document, settings) { | |
| var src, ii, tests; | |
| let sessionSupports; | |
| let sessionUpdated = false; | |
| const sessionStorageKey = "wpEmojiSettingsSupports"; | |
| // Create a promise for DOMContentLoaded since the worker logic may finish after the event has fired. | |
| const domReadyPromise = new Promise(function (resolve) { | |
| document.addEventListener("DOMContentLoaded", resolve, { once: 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
| <?php | |
| // Get the passport client repository | |
| $clientRepository = app('Laravel\Passport\ClientRepository'); | |
| // for machine-to-machine authentication | |
| $client = $clientRepository->create(null, 'myclient', ''); | |
| // gets the client's id and secret | |
| $clientSecret = $client->secret; | |
| $clientId = $client->id; |