• Resolved bcupham

    (@bcupham)


    Hi,

    I’d like to make the redirects created in the plugin available to WP Graphql. I am trying to figure out the best way to get all the associated data (setting up the graphql field is easy after that). Red_Item::get_all() only gets the target URL as far as I can see. Is there some other method that I can use to get all data associated with each redirect?

    Thank you,
    Ben

Viewing 1 replies (of 1 total)
  • Thread Starter bcupham

    (@bcupham)

    Never mind — it’s all there in the individual Red_Item objects returned by get_all(), using the methods on that class.

    • This reply was modified 3 years, 5 months ago by bcupham.
Viewing 1 replies (of 1 total)
  • The topic ‘Using Redirection with Graphql’ is closed to new replies.