Buttons API

If a theme contains the js/modules/theme.js module, it will attempt to auto-load and auto-assign button functions as follows:

If the function name does not contain an underscore it will be assigned to a class, whereas one with an underscore will be assigned to an ID.

  1. Related Articles
  2. Return to Extending
  3. Themes
  4. Buttons
  5. Filters
  6. Hooks
  7. Table of Contents