wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_ajax_generate_password › WordPress Function

Since4.4.0
Deprecatedn/a
wp_ajax_generate_password ( No parameters )
Defined at:
Codex:

Handles generating a password via AJAX.



Source

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