Hello Verdi,
I’m really glad you’re interested in our work!
This plugin is only for interacting with WordPress’ REST API. Since you’ve read the main plugin description I won’t talk about the different features (e.g. “Enable/Disable REST API endpoints for custom post types”). I will show some examples of what it can be used for.
You have a CPT called yikes_cats
, which is just a custom post type for different cats with custom fields like breed and weight.
Scenario 1: you will never need to query your cats via the REST API, so for security purposes you can use our plugin to disable their API endpoint (so wp-json/wp/v2/yikes_cats
returns nothing).
Scenario 2: you want to start querying your cats CPT via the API, but you’d rather query a cats
endpoint. You can use our plugin to rename the wp-json/wp/v2/yikes_cats
endpoint to wp-json/wp/v2/cats
.
Scenario 3: your custom fields, breed and weight, are defined as yikes_breed
and yikes_weight
. Similar to scenario 2, you’d rather work with just breed
and weight
. With our plugin, you can rename your fields so they are returned as breed
and weight
.
Scenario 4: you will never need to query the yikes_weight
field so you’d rather it not show in your API responses. With our plugin you can easily disable that field so you’re only querying the data you need.
I hope that explains the purpose of this plugin better. This plugin will not let you create custom fields for your post types; but if you’re using the REST API and want to query your custom fields it will give you some flexibility.
All the best,
Kevin.
Thank you very for taking time to explain this to me Kevin, I get it now 🙂
Have an awesome day!