CRUD = Create, Read, Update, Delete
$host = '127.0.0.1';
$dbname = 'test';
$username = 'root';
const listeners = (function listAllEventListeners() { | |
let elements = []; | |
const allElements = document.querySelectorAll('*'); | |
const types = []; | |
for (let ev in window) { | |
if (/^on/.test(ev)) types[types.length] = ev; | |
} | |
for (let i = 0; i < allElements.length; i++) { | |
const currentElement = allElements[i]; |
//Forged Settings | |
function forged_settings_add_options(){ | |
add_options_page( 'Forged Settings', 'Forged Settings', 'manage_options', 'forged-settings', 'forged_settings_page'); | |
} | |
add_action( 'admin_menu', 'forged_settings_add_options'); | |
//Create Forged Settings Submenu | |
function forged_settings_page(){ ?> | |
<div class = "wrap"> | |
<h1>Forged Theme Settings</h1> |