Skip to main content

DeprecatedTag

Discourages using deprecated tags in themes. Deprecated tags have their own unique implementation within this check. For example the include tag is deprecated but is still used in themes. This check looks for the include tag and provides a message that it's deprecated.


The following examples contain code snippets that either fail or pass this check:

<Partial filePath="snippet" />

{% render 'snippet' %}

The following example contains the default configuration for this check:

DeprecatedTag:
enabled: true
severity: warning
ParameterDescription
enabledWhether the check is enabled.
severityThe severity of the check.

Anchor to Disabling this checkDisabling this check

Disabling this check isn't recommended.


For backward compatibility with configuration files made for Theme Check v1.X.X, this check is also recognized in configuration files with the following name:

  • DeprecatedTags

Was this page helpful?