This chapter covers setting up Node and NPM. It shows how to add Create Guten Block to an existing plugin, and how to create a few Gutenberg blocks.
This content is available if you sign up for a free membership. Register
The REST API is an alternative to Admin Ajax. It is a programming-language agnostic way of interacting with WordPress data and is more structured.
Admin Ajax is now a standard way to perform Ajax requests. It has its advantages and disadvantages, and we build a sample plugin to show it off.
Data validation in WordPress is extremely important. It's necessary to escape and sanitize everything. Do not trust anyone, especially yourself.
This chapter covers WordPress nonces, how to implement them, why they are useful, and why you should use them.
Within this chapter I go over several techniques for loading scripts and styles. I also go over how to remove scripts and styles from a WordPress plugin.
Wouldn't you like to not load scripts and styles on every front-end page and admin page? This chapter goes over WordPress conditionals.
In this chapter I'll show you how to load styles properly and show you an example based on a shortcode.