PHP Classes

File: vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/ClassNameCaseStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/ClassNameCaseStandard.xml   Download  
File: vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/ClassNameCaseStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: Yesterday
Size: 762 bytes
 

Contents

Class file image Download
<?xml version="1.0"?> <documentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://phpcsstandards.github.io/PHPCSDevTools/phpcsdocs.xsd" title="Class Name Case" > <standard> <![CDATA[ It is strongly recommended to refer to WP native classes by their properly cased name. ]]> </standard> <code_comparison> <code title="Valid: reference to a WordPress native class name using the correct case."> <![CDATA[ $obj = new WP_Query; ]]> </code> <code title="Invalid: reference to a WordPress native class name not using the correct case."> <![CDATA[ $obj = new wp_query; ]]> </code> </code_comparison> </documentation>