Support » Plugin: Redirection » Programmatically Export Redirects

  • Resolved emaildano

    (@emaildano)


    Hey!

    Is there a function/recommended way to programmatically export all redirects to a JSON file?

    I’m familiar with the REST API route to get these but it’s protected and there isn’t an example of how to access that route using a NONCE.

    If there is a simple PHP function I can add to the plugin I’m developing that may work for now.

    Thanks!

    Ps: This is the WP Serverless Redirects plugins we discussed the other day. It’s not production ready yet but once I get this export function settled I can work on that release.

    https://github.com/getshifter/wp-serverless-redirects

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Programmatically Export Redirects’ is closed to new replies.