uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
.
/
.
/
.
/
public_html
/
wp-content
/
.
/
.
/
.
/
plugins
/
extendify
/
src
/
.
/
Agent
/
hooks
/
usePortal.js
/
/
import { useEffect, useState } from '@wordpress/element'; export const usePortal = (id) => { const [mounted, setMounted] = useState(null); useEffect(() => { let node = document.getElementById(id); if (!node) { node = Object.assign(document.createElement('div'), { className: 'extendify-agent', }); node.id = id; document.getElementById('extendify-agent-main').prepend(node); } setMounted(node); return () => node.remove(); }, [id]); return mounted; };
/home/batcwwjx/./././public_html/wp-content/./././plugins/extendify/src/./Agent/hooks/usePortal.js