Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,849
- How-to & Troubleshooting
- 128,861
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
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