Tag Info

New answers tagged

0

If you're using WooCommerce, they have a shortcode that displays the logged in user's account details on a front end page: [woocommerce_my_account]


0

I was/am using the user taxonomy snippet as well. However, I highly recommend not to mix users and posts in one taxonomy. Meaning registering a taxonomy for users AND posts. The wp_term_relationships table just stores an object_id. Once there's a post and a user with the same ID, everything gets messed up because then, the term is assigned to both, user ...


1

Please add following condition. $mailSent = get_user_meta($us_id, 'mail_sent', true); if($mailSent){ update_user_meta($us_id, 'mail_sent', 'mail sent'); }else{ $borrower_mail=wp_mail($to, $subject, $body); }



Top 50 recent answers are included