🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-06 18:00:44 | PHP 8.2.32
📂
/ (Root)
/
home
/
eliteewa
/
public_html
/
wp-content
/
themes
/
blocksy
/
static
/
js
/
notification
📍 /home/eliteewa/public_html/wp-content/themes/blocksy/static/js/notification
🔄 Refresh
✏️
Editing: main.js
Writable
import { createElement, createRoot } from '@wordpress/element' import Notification from './Notification' import $ from 'jquery' export const mount = (el) => { if (el.querySelector('.notice-blocksy-plugin-root')) { const root = createRoot(el.querySelector('.notice-blocksy-plugin-root')) root.render( <Notification initialStatus={ el.querySelector('.notice-blocksy-plugin-root').dataset .pluginStatus } url={ el.querySelector('.notice-blocksy-plugin-root').dataset.url } pluginUrl={ el.querySelector('.notice-blocksy-plugin-root').dataset .pluginUrl } pluginLink={ el.querySelector('.notice-blocksy-plugin-root').dataset.link } /> ) } ;[...document.querySelectorAll('[data-dismiss]')].map((el) => { el.addEventListener('click', (e) => { e.preventDefault() el.closest('.notice-blocksy-woo-deprecation').remove() $.ajax(ajaxurl, { type: 'POST', data: { action: 'blocksy_dismissed_notice_woo_deprecation', }, }) }) }) }
💾 Save Changes
❌ Cancel