Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,020
- How-to & Troubleshooting
- 129,649
- Creating & Extending
- 25,794
- Requests & Feedback
- 9,497
- Third Party Plugins
- 9,794
- Showcase
- 3,316
- Ideas
- 1,383
- Miscellaneous
- 9,180
-
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.