A::map is a simple wrapper around
array_map to fix the weird, inconsistent argument order. #3434
router() helper takes a set of routes and request data and directly executes the matching routing action.
This helper is great to build your own custom router. This could be done in the config or in a custom script.
Although the example above could of course also simply be solved with more route definitions, it's sometimes really useful to implement such a nested router.
You can also use it for any kind of logic that depends on path matching with regex.
Is now used for all emails to replace "Kirby Panel" as generic title
Get the file size of all files in a collection
Useful if you want to include scripts etc. depending on block types.
toBlocks() method makes it easy to filter blocks from layouts.
Useful if you want to include scripts etc. depending on block types in layout field.