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.
Disabling this check
Anchor link to section titled "Disabling this check"Disabling this check isn't recommended.