WordPress Development Snippets

As I code, I document and this is the page where all of my WordPress development snippets go. They cover pieces of code, documentation, processes and design patterns, coding standards and much more. I also write longer form articles and produce videos about WordPress development articles weekly. Subscribe to my newsletter so that you don’t miss out!

Complete WordPress Development Snippets Archive

Set a margin in PhpStorm to wrap DocBlock comments

Since I do a lot of WordPress development work and like to keep my code well documented, I follow the WordPress guide lines on how to write my documentation using PHP DocBlock. The WordPress guidelines specify that… DocBlock text should wrap to the next line after 80 characters of text. If the DocBlock itself is indented on the // continue reading →