REST API for custom fields not working

This topic contains 1 reply, has 2 voices, and was last updated by Avatar Sayan Naskar 3 months, 3 weeks ago.

  • Author
    Posts
  • #89178
    Avatar
    MakMal
    Participant

    I am using WCFM Ultimate with some custom fields.Is there any way to add those fields to Woocomemrce rest API?I tried to do it with WP REST API CONTROLLER plugin-https://wordpress.org/plugins/wp-rest-api-controller/ …Custom field keys shows is json.But its values not shown.They shown as “Null”..

  • #90813
    Avatar
    Sayan Naskar
    Keymaster

    Hello,
    The WooCommerce custom fields should be added to to the WooCoocommerce rest API through custom code.

    https://wordpress.org/plugins/wp-rest-api-controller/ plugin is only for wp default rest api, not WooCommerce restapi.

    Thank you.

The topic ‘REST API for custom fields not working’ is closed to new replies.