I would like to make the email field on the profile page for subscribers read only. They can see their email but not change it. I want only admins...
I am trying push user update fields to an api via user profile edit or admin user edit. I have successfully allowed user to update their own profile and...
I’m heavelly modified my WordPress, it’s amazing what you can do with wordpress hooks, actions.. But i’m not able to find how can i add mass action for users....
Does anyone know how to get access to user meta data on the wordpress backend? I’m trying to see if there is a “user_(linkedin, instagram, facebook, etc)_url”. I’m working...
I am trying to show bio and other custom metadata for my users in a page. So, i want to query the user metadata table for it. I have...
I use the following shortcode and function to display members of some departments: add_shortcode( 'list_of_members', 'members_listing' ); /* usage: [list_of_members department="psychology"] */ function members_listing( $department ) { $members =...
I am working on a site where I am using a plugin called Favorite Posts so logged-in users can add a post (a custom post type) to their favorites....
I have seen similar question Here at First and Second. But these two are not close to my code. Let me show my code here. add_action('wp_login', 'set_last_login'); //function for...
I want to edit user meta on the front using an ajax form, this is what i have: The form has the user ID: <form id="<?php echo $current_user->ID; ?>"......
Say I have a user meta field that is called “meta1”. I want to get posts (via get_posts or the like) who’s author meta1 = true. Any idea how...