Helpers
Table of Contents
Classes
- ArrayWalkingFunctionsHelper
- Helper functions and function lists for checking whether a function applies a callback to an array.
- FormattingFunctionsHelper
- Helper functions and function lists for checking whether a function is a formatting function.
- UnslashingFunctionsHelper
- Helper functions and function lists for checking whether a function is an unslashing function.
- ValidationHelper
- Helper function for checking whether a token is validated.
- WPGlobalVariablesHelper
- Helper utilities for recognizing WP global variables.
- WPHookHelper
- Helper utilities for recognizing functions related to the WP Hook mechanism.
Traits
- EscapingFunctionsTrait
- Helper functions and function lists for checking whether an escaping function is being used.
- IsUnitTestTrait
- Helper utilities for sniffs which need to take into account whether the
code under examination is unit test code or not.
- MinimumWPVersionTrait
- Helper utilities for sniffs which take the minimum supported WP version of the
code under examination into account.
- PrintingFunctionsTrait
- Helper functions and function lists for checking whether a function prints output.
- WPDBTrait
- Helper utilities for sniffs which examine WPDB method calls.