Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Your frontend javascript
- var data = {
- action: 'sign_in',
- username:"<username>",
- pass:"<password>"
- };
- jQuery.post('/wordpress/wp-admin/admin-ajax.php', data,
- function(response) {
- alert("signed in successfully");
- });
Add Comment
Please, Sign In to add comment