Skip to content

Repository files navigation

PHP and WordPress PHP Crash Course


  1. Run through PHP features and syntax.
  2. Run through WordPress PHP features and helper functions.
  3. Set up coding standards, talk about package management, check out debugging.

Lessons

Part 1: PHP

  • Intro and setup.
  • Types: strings, ints, floats, boolean, arrays, object, NULL, resource
  • declaring variables
  • functions anonymous and named
  • arrays and syntax
  • conditional
  • loops
  • objects and syntax
  • classes: properties, method, scope (private, protected, public)
  • Templating with PHP
  • Superglobals and getting server and browser info.
  • Adding docblock comments.

Part 2: WordPress

  • Intro to the world of WordPress PHP, the Codex, and Dev Resources
  • The Loop
  • Globals
  • Template tags
  • Conditionals
  • WP helper functions
  • Vaidating, sanitizing, and escaping data
  • Enqueue functions and concept
  • Plugin API
  • Custom Post Types
  • WP_Query
  • wpdb

Part 3: Standards and Debugging

  • Setup PHPCS
  • Kint and Whoops
  • xDebug
  • Packagist and packages

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages