Skip to content

3 Implementation

Sky Shabatura edited this page Nov 3, 2019 · 1 revision

Rootstrap adds a more explicitly ordered set of action hooks for modules to use when adding customizer functionality. Adding customizer panels, sections, settings, controls etc. using these hooks ensures everything has been done in the right order.

  • Action: 'rootstrap/setup' - runs at 'after_setup_theme', priority PHP_INT_MAX
  • Action: 'rootstrap/customize-register' - runs at 'customize_register'
  • Action: 'rootstrap/customize-register/panels' - runs at 'customize_register'
  • Action: 'rootstrap/customize-register/sections' - runs at 'customize_register'
  • Action: 'rootstrap/customize-register/settings' - runs at 'customize_register'
  • Action: 'rootstrap/customize-register/controls' - runs at 'customize_register'
  • Action: 'rootstrap/customize-register/partials' - runs at 'customize_register'
  • Action: 'rootstrap/customize-register/after' - runs at 'customize_register', priority PHP_INT_MAX

Clone this wiki locally