Skip to content

Settings

Gene Alyson Fortunado Torcende edited this page Dec 16, 2018 · 1 revision

Addition

accepts 1 parameter - the array of setting configuration

ThemePlate()->settings( $config );

Config

Each setting is configured using these following keys:

Required

  • id
  • title
  • fields

Optional - (defaults)

  • description - ''
  • style - ''
  • priority - 'default'
  • page - 'options'
  • context - 'normal'

Clone this wiki locally