wp_ajax_generate_password()
Ajax handler for generating a password.
Source
File: wp-admin/includes/ajax-actions.php
function wp_ajax_generate_password() {
wp_send_json_success( wp_generate_password( 24 ) );
}
Changelog
Version | Description |
---|---|
WP-4.4.0 | Introduced. |