Developer Reference
This section provides technical documentation for developers who want to understand the internals of the ID Admin Menu Customizer, integrate with it, or extend its functionality.
What’s Covered
The developer reference includes detailed information on:
- Data storage structure — How the plugin stores its configuration in the
wp_optionstable, including the exact format of theidamc_menu_orderoption and the arrays it contains. - WordPress hooks — Every action and filter the plugin uses, including hook names, priorities, and what each callback does. This is essential if you need to understand load order or avoid conflicts.
- AJAX endpoint — The server-side handler for saving menu configurations, including the action name, HTTP method, nonce verification, capability checks, and expected POST parameters.
- JavaScript localized data — The
idamcDataobject passed from PHP to JavaScript viawp_localize_script, including available properties and internationalization strings. - Custom actions — Plugin-specific actions that fire during initialization, which you can hook into for custom integrations.
Prerequisites
This section assumes familiarity with:
- WordPress plugin development (hooks, actions, filters)
- The WordPress
admin_menusystem and$menuglobal - WordPress AJAX handling (
wp_ajax_actions) - PHP’s
get_optionandupdate_optionfunctions
If you’re looking for usage instructions rather than technical details, refer to the Getting Started and How It Works sections instead.
