Filters API
If a theme contains the js/modules/theme.js
module, it will attempt to auto-load and auto-assign filter functions as follows:
theme.filter.example()
- this will be envoked whenfunc: "example"
is found within a JSON data array as follows:
{
"content": {
"func": "example"
}
}
In addition, any filters added to configuration can also be invoked via data arrays.
Please see $.fn.blockstrap.modules.filters
for a full list of filters available with core.
- Related Articles
- Return to Extending
- Themes
- Buttons
- Filters
- Hooks
- Table of Contents