Ever wonder how to automatically reformat your code to a particular coding standard in PhpStorm? In this video, you’ll learn how to configure PhpStorm to apply the WordPress PHP Coding Standard and then the key strokes to auto format your code.
You have to match the number of arguments to the number of required parameters for a PHP function. A common error is when you forget to specify the number of arguments to send when wiring up an event callback for add_action() or add_filter(). In this video, Tonya shows you why you have to specify this number.
Do you need to include the optional parameter taxonomies when registering the custom post type register_post_type()? How do you link the taxonomy and post type? In this quick tip, Tonya shows the how and why of the `taxonomies` optional parameter.