wp_ajax_generate_password() In this article Table of ContentsSource Related Changelog ↑ Back to top Handles generating a password via AJAX. Source function wp_ajax_generate_password() { wp_send_json_success( wp_generate_password( 24 ) ); } View all references View on Trac View on GitHub Related UsesDescriptionwp_generate_password()wp-includes/pluggable.phpGenerates a random password drawn from the defined set of characters. wp_send_json_success()wp-includes/functions.phpSends a JSON response back to an Ajax request, indicating success. Changelog VersionDescription4.4.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.