Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,859
- How-to & Troubleshooting
- 128,902
- Creating & Extending
- 25,741
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,389
- Miscellaneous
- 9,134
-
You’ve got it correct. The action from the js is taken and called with an action prefixed with “wp_ajax_”, just like above.
Check_ajax_referer() checks that a valid nonce was passed with the request – to find out more about nonces, see here.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS