How to create custom WordPress plugin exposing a REST API endpoint
In several previous posts, I discussed adding a Vue application to WordPress in the form of a plugin, as well as creating a plugin with access to the WordPress site’s database. In today’s post, we will create a plugin that allows us to add data to the WordPress database and expose this data as a…
