wp_ajax_nopriv_generate_password()

Handles generating a password in the no-privilege context via AJAX.


Source

File: wp-admin/includes/ajax-actions.php. View all references

function wp_ajax_nopriv_generate_password() {
	wp_send_json_success( wp_generate_password( 24 ) );
}


Top ↑

Changelog

Changelog
Version Description
5.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.