Skip to content

Naming Conventions

codeOz edited this page Sep 7, 2021 · 1 revision

Welcome to the codeoz-code-convention wiki!

Naming Conventions

Functions, Variable and Action/Filter names

Use lowercase letters in variable, action/filter, and function names (never camelCase). Separate words via underscores. Don’t abbreviate variable names unnecessarily; let the code be unambiguous and self-documenting.

function some_name( $some_variable ) { [...] }
Clone this wiki locally