Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,567
- How-to & Troubleshooting
- 127,801
- Creating & Extending
- 25,649
- Requests & Feedback
- 9,392
- Third Party Plugins
- 9,717
- Showcase
- 3,317
- Ideas
- 1,332
- Miscellaneous
- 8,844
-
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