A WordPress-centric search engine for devs and theme authors



wp_ajax_generate_password ›

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

Ajax handler for generating a password.



Source

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