Skip to content

Options Page

Gene Alyson Fortunado Torcende edited this page Dec 16, 2018 · 3 revisions

Creation

accepts 1 parameter - the array of options page configuration

ThemePlate()->page( $config );

Config

Each options page is configured using these following keys:

Required

  • id
  • title

Optional - (defaults)

  • parent - ''
  • menu - title
  • icon - ''
  • position - null
  • capability - 'manage_options'
Clone this wiki locally