Skip to content

Commit

Permalink
Markup - Added custom filters and functions (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
WebVPF authored Apr 4, 2024
1 parent acf7776 commit 2e174db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions markup/templating/templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,7 @@ Tag | Equivalent
------------- | -------------
`{% extend %}` | Use [Layouts](../../docs/cms/layouts) or `{% placeholder %}`
`{% include %}` | Use `{% partial %}` or `{% content %}`

## Custom Twig filters and functions

Custom Twig filters and functions can be registered with the `registerMarkupTags` method of the plugin registration class. For detailed documentation see [Extending Twig](../../docs/plugin/registration#extending-twig).

0 comments on commit 2e174db

Please sign in to comment.