How to add and display reCAPTCHA in password protected form?

You can hook into the the_password_form filter to add or modify the post password form to incorporate the needed markup for Google ReCaptcha. After that, use the wp_enqueue_scripts hook to enqueue the ReCaptcha Javascript.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)