flask.Blueprint.add_app_template_filter¶
-
Blueprint.
add_app_template_filter
(f, name=None)[source]¶ Register a custom template filter, available application wide. Like
Flask.add_template_filter()
but for a blueprint. Works exactly like theapp_template_filter()
decorator.Parameters: name – the optional name of the filter, otherwise the function name will be used.