---
title: Hooks reference
summary: Every hook LanternWP and LanternWP Companion call, from the docblocks above their calls.
url: https://lanternwp.com/developers/reference/hooks
updated: 2026-10-08
---

# Hooks reference

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

Examples: [Hooks](../hooks.md).

## 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.

- `$server` (`string`): The store's address, https://lanternwp.com by default.

## 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.
