Send An Email to Admin on User Profile Completion

Based on your question, you could simply call the WordPress function wp_mail( $to, $subject, $message, $headers ); when your var $user_progress[‘completion_percentage’] equal 100 %. <?php if( $user_progress[‘completion_percentage’] === 100 ) { // Complete your variables with original code $to = “[email protected]”; $subject = __(“New user registration”, “yourdomain”); $headers = array(‘Content-Type: text/html; charset=UTF-8’); $message = “A … Read more

Force Profile link for username, and stop “Website” field on Profile from becoming offsite link atop Comments, in “Recent Comments” list, etc

Yup, there’ll be no link when the user doesn’t fill in that field or when leaving a comment as a guest. As far as redirecting comment links to the bbPress profile goes, popping this in your functions.php should do the trick: /** * Redirect user links in comments to BBPress profile * * @param object … Read more

Can we get user profile page using user_id in the URL?

You can use the get_the_author_meta() function for this purpose. Use the get_the_author_meta(‘ID’) for only get the ID. Ensure you check the page first with is_author() function before getting the ID. https://developer.wordpress.org/reference/functions/get_the_author_meta/ https://developer.wordpress.org/reference/functions/is_author/

techhipbettruvabetnorabahisbahis forumueduseduseduseduseduseduedusedueduedu