Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use API proxy when Playgrounds option is on #177

Draft
wants to merge 29 commits into
base: 1.1
Choose a base branch
from

Conversation

nataliebrotherton
Copy link
Collaborator

@nataliebrotherton nataliebrotherton commented Oct 31, 2024

src/class-wa-api.php

  • Clean up class constants
  • Add proxy URL constant
  • Create functions (get_auth_url,get_api_url, and get_public_api_url) that conditionally return the WildApricot API url or the proxy url if the playgrounds constant is enabled

assets/blueprint.json

  • Add config constant WP_PLAYGROUNDS_SUPPORT to indicate playgrounds is being used.
  • Temporarily change plugins url to point to this branch for testing

@nataliebrotherton nataliebrotherton linked an issue Oct 31, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using WAP with WordPress Playgrounds
2 participants