how to get password from user instead wp-generate-password

The problem related to the getting password from $_POST[‘register_password’] variable its must between parentheses like that: // Nonce is checked, Get to work $info = array(); $info[‘user_nicename’] = $info[‘nickname’] = $info[‘display_name’] = $info[‘first_name’] = $info[‘user_login’] = sanitize_user( $_POST[‘register_username’] ) ; $info[‘user_pass’] = ($_POST[‘register_password’]); $info[‘user_email’] = sanitize_email( $_POST[‘register_email’] );

Calendar month navigation in Ajax only working once

Your event target (#calender_section a) is replaced after refreshing the calendar. Because of the replacing, the event listener isn’t applied to the target anymore. You have to apply the event listener to a parent element which doesn’t get replaced (here it is #calendrier_wrapper) and use the selector parameter of on (see http://api.jquery.com/on/): $(“#calendrier_wrapper”).on(‘click’, ‘#calender_section a’, … Read more

Change button text after ajax db update

You only need to set the text of your A tag using $a.text(‘abc’) in your jQuery part. I did similar with the class in jQuery part of How to securely add an Ajax button to an admin page jQuery(‘#content’).on(‘click’, ‘a.rml_bttn’, function(e) { e.preventDefault(); var $a = jQuery(this); var rml_post_id = $a.data( ‘id’ ); jQuery.ajax({ url … Read more