When they search, make sure they find you!

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_options table, including the exact format of the idamc_menu_order option 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 idamcData object passed from PHP to JavaScript via wp_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_menu system and $menu global
  • WordPress AJAX handling (wp_ajax_ actions)
  • PHP’s get_option and update_option functions

If you’re looking for usage instructions rather than technical details, refer to the Getting Started and How It Works sections instead.