• I am trying to fetch data from 3rd party graphQL endpoint and store it in wordpress custom post.

    Can wp-graphql or some other plugin help me achieve this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same question here …

    Plugin Author Jason Bahl

    (@jasonbahl)

    It’s definitely possible, but not something WPGraphQL is trying to solve.

    WPGraphQL exposes WordPress as a GraphQL API, it doesn’t facilitate (or try to) fetching content from remote APIs for storage in WordPress.

    Once you do fetch the content from remote APIs and persist the data in WordPress, you can expose it to the WPGraphQL API using the register_graphql_* functions documented here: https://www.wpgraphql.com/functions

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how can i fetch data in wordpress custom post from external graphQl endpoint’ is closed to new replies.