Using widgets page - countwidgets function has conflicting information
Open
- Dominant language
- PHP
- Stars
- 45
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
The [Using Widgets](https://docs.bolt.cm/3.3/templating/widgets#other-functionality) page has two different snippets for the `countwidgets` function, which give conflicting information.
The first says _'Note that this function also requires the 'zone' parameter, which is optional in widgets. Zone must be either frontend or backend.'_ and the second says _'This function takes an optional second argument for the 'zone': countwidgets('dashboard_top', 'backend'). Zone must be either frontend or backend.'_
I'm not sure which is correct, but I think it works even without the zone parameter.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.