Forget what you learned about creating WordPress admin pages. Admin Builder does all that complicated and repetitive work for you.

You only have to worry about 2 things:

  1. What container? administration page, metabox, or user profile
  2. What content? header, content, of fields like text, textarea, radio, checkbox or others…

This is illustrated in the following example, which shows the creation of an admin page containing a simple content.

Copy to Clipboard

The hook sukellos_fw/admin_builder/create_fields is called on WordPress init action hook

This sets all Items to be created during the admin_menu hook by the Admin Builder, using WordPress common features.