Description Usage Arguments Details Examples
chainable method to add hooks
1 |
bp |
blueprint object |
... |
params to pass |
hooks can be added into any template, and should follow the naming convention hooks:<major_element>:<location>
For example, hooks:pk:begin might be placed at the top of $PK in a template
the [hooks()] function will inject a string into that template by matching the name.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.