extends html snippet doc "/**" /** * $1 */$0 endsnippet snippet pre "
print_r()" echo "
"; print_r($0); echo ""; endsnippet snippet if "if () {}" if ($1) { $0 } endsnippet snippet fe "foreach () {}" foreach (\$${1:array} as \$${2:item}) { $0 } endsnippet snippet pp "" endsnippet snippet pe "" endsnippet snippet ph "" endsnippet snippet pf "public function ..." public function $1($2) { $0 } endsnippet snippet pt "protected function ..." protected function $1($2) { $0 } endsnippet snippet pv "private function ..." private function $1($2) { $0 } endsnippet snippet psf "public static function ..." public static function $1($2) { $0 } endsnippet snippet prsf "public static function ..." private static function $1($2) { $0 } endsnippet snippet ''= "'...' => " '$1' => $0, endsnippet snippet apm "add_post_meta(..." add_post_meta( 1, 'DEBUG_$1', $0); endsnippet snippet upm "update_post_meta(..." update_post_meta( 1, 'DEBUG_$1', $0); endsnippet snippet sw "switch ..." switch ($1) { case $2: $3; break; default: $0 } endsnippet snippet cs "case ..." case $1: $0; break; endsnippet