Theming With WP REST API / Episode14 /

Adding Custom Fields

In this episode of Theming with REST API we are going to add custom fileds to our custom post type WordPress REST API and display them with Vue.js

In this episode we are going to manipulate our WP REST API again but in bit different way than we did before, because as you will see none of our previous manipulations won't be applied to custom post types.

To do that we will be using rest_api_init and register_rest_fields functions, also you will learn why no to use Toolset plugin to create your fields, and if you are using it, how to make it work with Vue.js.

Wanna ask a question about video?

Like This Video?

Consider supporting me on Patreon.

...or you can share this video, that also helps ;)

Get in touch