Documentation

WP

Table of Contents

Classes

AlternativeFunctionsSniff
Discourages the use of various functions and suggests (WordPress) alternatives.
CapabilitiesSniff
Check that capabilities are used correctly.
CapitalPDangitSniff
Capital P Dangit!
ClassNameCaseSniff
Verify whether references to WP native classes use the proper casing for the class name.
CronIntervalSniff
Flag cron schedules less than 15 minutes.
DeprecatedClassesSniff
Restricts the use of deprecated WordPress classes and suggests alternatives.
DeprecatedFunctionsSniff
Restricts the use of various deprecated WordPress functions and suggests alternatives.
DeprecatedParametersSniff
Check for usage of deprecated parameters in WP functions and suggest alternative based on the parameter passed.
DeprecatedParameterValuesSniff
Check for usage of deprecated parameter values in WP functions and provide alternative based on the parameter passed.
DiscouragedConstantsSniff
Warns against usage of discouraged WP CONSTANTS and recommends alternatives.
DiscouragedFunctionsSniff
Discourages the use of various WordPress functions and suggests alternatives.
EnqueuedResourceParametersSniff
This checks the enqueued 4th and 5th parameters to make sure the version and in_footer are set.
EnqueuedResourcesSniff
Makes sure scripts and styles are enqueued and not explicitly echo'd.
GlobalVariablesOverrideSniff
Warns about overwriting WordPress native global variables.
I18nSniff
Makes sure WP internationalization functions are used properly.
PostsPerPageSniff
Flag returning high or infinite posts_per_page.

        
On this page

Search results