• As we really like you Woo Tabs plugin, we started looking at your other products.

    This one I do not understand, although I’d love to learn. Your site and the description here do not provided one or more use cases. Apologies for asking, but could you please supply one or more to help me understand it’s primary use?

    Will this allow me to create extra fields for products? (we need a ‘Start date’ field for our classroom courses).

    Thank you in advance and warm regards,

    Verdi.

    • This topic was modified 6 years, 10 months ago by Verdi Heinz.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    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.

    • This reply was modified 6 years, 10 months ago by yikesitskevin.
    • This reply was modified 6 years, 10 months ago by yikesitskevin.
    Thread Starter Verdi Heinz

    (@ver3)

    Thank you very for taking time to explain this to me Kevin, I get it now 🙂

    Have an awesome day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What is the use case of this plugin? Will it allow me to add extra fields?’ is closed to new replies.