WordPress at Your Fingertips
function is not described

wp_ajax_generate_password() WP 4.4.0

Ajax handler for generating a password.

No Hooks.

Return

null. Nothing.

Usage

wp_ajax_generate_password();

Changelog

Since 4.4.0 Introduced.

Code of wp_ajax_generate_password() WP 5.8.2

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