DeprecatedFilter
Discourages using deprecated filters in themes.
The following examples contain code snippets that either fail or pass this check.
Auto-correction
Anchor link to section titled "Auto-correction"Theme Check can correct usage of the deprecated img_url
filter using the --auto-correct
flag. When the flag is specified, Theme Check automatically replaces instances of img_url
with image_url
where possible.
The following example contains the default configuration for this check:
Parameter | Description |
---|---|
enabled |
Whether the check is enabled. |
severity |
The severity of the check. |
Disabling this check
Anchor link to section titled "Disabling this check"Disabling this check isn't recommended.