Support » Plugin: Redirection » Programmatically Export Redirects

  • Resolved emaildano



    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.


    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.

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.