Theming With WP REST API Episode 14

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?

Support it by sharing it ;)

© Watch And Learn,2024