Available Hooks
Pro Menu Editor provides several hooks for developers who want to extend functionality:
Actions
pme_before_apply_menu— Fires before the custom menu is appliedpme_after_apply_menu— Fires after the custom menu is applied
Checking PME Status in Your Code
// Check if PME is active and licensed
if (class_exists('Pro_Menu_Editor')) {
$pme = Pro_Menu_Editor::get_instance();
// Check if premium features are available
if ($pme->is_license_valid()) {
// Premium features active
}
// Get current license info
$info = $pme->get_license_info();
// $info['status'] = active|trial|expired|inactive
// $info['plan'] = free|basic|pro|agency
}
Option Names
PME stores configurations in WordPress options. For security (anti-tampering), option names are intentionally generic:
pme_component_data— License datapme_render_token— License verification tokenpme_white_label_config— White Label configurationpme_white_label_dashboard— Dashboard widget config
Do not modify these options directly — use the plugin interface or contact support.