Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,871
- Creating & Extending
- 25,908
- Requests & Feedback
- 9,552
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
I did solve this by moving the logic that enables the action into the screen function, instead of attaching a separate function to bp-actions.
So the screen function first looks to see if that action is requested. If so, it does it, then redirects. Otherwise it isn’t enabled and the template kicks in.
This is the approach taken in the BP-Skeleton-Component accept/reject terms example.