How can I modify text in admin bar?

Are you referring to the meta bar where people can login or register? I’d recommend using jQuery, because if you make the change to the core, it’ll be overwritten once you update it. $(‘a[href*=”register”]’).text(‘join’); This basically states find an anchor tag where the href contains the word register. Once it finds it, it changes the … Read more

Updating User Profile on Registration

Try dumping your data and you should see the problem: function coinDeposit() { $current_user = wp_get_current_user(); var_dump($current_user); die; update_user_meta( $ID, ‘depositAddress’, $account); } The user object is empty. That is because a newly created user is not automatically logged in. There is an email confirmation step, and then login. Until that login, wp_current_user() isn’t going … Read more

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