Actions
FSE Templates
Perform an additional task when a specific template/template part is loaded on the frontend.
The action accepts two arguments:
$theme
: string that returns the theme slug associated with the template$slug
: string that returns the template slug
Last updated