How to remove without touching the pluggable.php the wordpress_logged_in cookie to show the username on login?
How to remove without touching the pluggable.php the wordpress_logged_in cookie to show the username on login?
How to remove without touching the pluggable.php the wordpress_logged_in cookie to show the username on login?
I think you’re looking for the wp_new_user_notification_email() filter like here.
I found the problem, the login procedure pre-loads the USER object in cache. The password that is checked is always the initial one: changing the password in the database only works from the next login attempt. I fixed it by adding clean_user_cache($userId) But I don’t understand why if I try to login from the “my … Read more
is_tax not working for custom taxonomy
At first I will notice that logging in with the username only sounds like a insecure solution . You should not display the form in the init action hook. Add form display function to the action hook from checkout page (e.g. woocommerce_before_checkout_form) or overwrite the checkout template in the active theme and insert the form … Read more
Change it so they all use the same db but different prefixes (if you’re not alreasy using that). Then adjust the wp-config.php to use the same user tables for all installs: http://codex.wordpress.org/Editing_wp-config.php#Custom_User_and_Usermeta_Tables Don’t forget to make sure the safety hashes of all installs are the same. And perhaps it is useful to set the cookie … Read more
Nevermind, I found the solution. I included pluggable.php in the plugin which is a no-no to start with. And then I used wp_get_current_user() incorrectly.
Add the code in your themes functions.php. add_filter( ‘woocommerce_checkout_fields’ , ‘override_billing_checkout_fields’, 20, 1 ); function override_billing_checkout_fields( $fields ) { $fields[‘billing’][‘billing_first_name’][‘placeholder’] = ‘Enter First Name’; $fields[‘billing’][‘billing_last_name’][‘placeholder’] = ‘Enter Last Name’; return $fields; } Solved by adding the code in this way
I’m afraid you cannot alter the output of this function unless you directly modify the plugin code. The plugin author hasn’t given you any filter to use. So what can you do about it? Continue to alter the plugin file and update each time the plugin updates. Ask the plugin author nicely to add a … Read more
From the looks of things, some page is trying to load your functions.php page directly. I’m not sure if it’s another part of your theme, or a plugin, or some other custom code. But the error on line 14 is triggered with a second <?php opening tag in your functions.php file. This headers already sent … Read more