Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,405
- Miscellaneous
- 9,183
-
Ask LearnDash how they determine the user_id in order.php.
Or maybe you can tell by the code in that file.
Then adjust bptest_show_a_field()to use that user_id.
Probably best to pass the user_id as a shortcode attribute.