styles_inline_size_limit WordPress Filter Hook
The styles_inline_size_limit hook is used to set the maximum allowed size for an inline style tag. This can be useful for preventing malicious code from being injected into a page through the style tag.
apply_filters( 'styles_inline_size_limit', int $total_inline_limit ) #
The maximum size of inlined styles in bytes.
Parameters
- $total_inline_limit
(int)The file-size threshold, in bytes. Default 20000.
Source
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |