UnusedAssign
Identifies variable definitions that aren't used.
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 this error using the --auto-correct
flag. When the flag is specified, Theme Check automatically removes any unused assign
tags.
Disabling this check
Anchor link to section titled "Disabling this check"This check is safe to disable.