Skip to content
Sign in Get the free theme
Menu
Developer docs menu

Hooks reference

Applies to Theme 0.2.1 and Companion 0.1.1 Updated 8 October 2026 View as Markdown

Generated from the theme and LanternWP Companion with every release; do not edit it by hand.

Examples: Hooks.

lanternwp_demo_server

Filter · Companion · since 0.1.0

Filters the demo store the Demos screen lists and imports demos from.

Return the address of another store that serves the same API, such as a copy of lanternwp.com for development. wp lanternwp demo import does not use it; it takes --server instead.

lanternwp_welcome_steps

Filter · Theme · since 0.2.1

Filters the steps of Appearance → LanternWP, the theme's welcome screen.

Each step is an array with a title (string), a text (string), whether it is done (bool) and its actions, each an array with a label and a URL (strings) and primary (bool, for the step's main button). A step or an action without that shape is left out, so a mistake leaves the screen as it was.

Was this page helpful?
Something wrong on this page? Report it. Something missing? Suggest it.