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
const { withDangerousMod, withPlugins } = require("@expo/config-plugins"); | |
const { | |
mergeContents, | |
} = require("@expo/config-plugins/build/utils/generateCode"); | |
const fs = require("fs"); | |
const path = require("path"); | |
async function readFileAsync(path) { | |
return fs.promises.readFile(path, "utf8"); | |
} |
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 | |
/** | |
* This function returns a page permalink | |
* for the current website language. | |
* | |
* @author Mauricio Gelves <[email protected]> | |
* @param $page_slug string WordPress page slug | |
* @return string|false Page Permalink or false if the page is not found | |
*/ |