I have a need to include user profiles, along with posts & pages, in front-end searches. I’ve searched for solutions to this problem (both here on WSE and elsewhere...
Is there a hook in WP to access meta data of a user JUST after they have registered and meta data has been added to the database? I was...
I am trying to build a simple WordPress favourite post plugin that is scalable and could handle 1000s or 10000s of users or more. There are several different approaches...
I’m trying to display a list of authors by their last name. I can get the list to display but as yet I don’t seem to be able to...
I’d like to send email notifications when new posts are saved. But users can select post categories they want to subscribe to. Available plugins are no solution to me...
This is my code: $args = array ( 'order' => 'DESC', 'include' => get_user_meta($author->ID, 'the_following_users', true) ); $wp_user_query = new WP_User_Query( $args ); $users = $wp_user_query->get_results(); if ( !...
Is it possible to show the Biographical Info textfield while creating a new user? I know it’s possible to add user bio by editing a user AFTER it has...
What I’m trying to do: Add new user meta fields that can be updated when the user edits their profile Validate them correctly when the form is submitted What...
Upon dumping the \WP_User object, I’ve noticed that there are two properties, which are directly related to capabilities for a particular user. $user_object->caps $user_object->allcaps I’ve instantly noticed that there’s...
fellow coders! I an having a hard time JOIN(ing) tables. I have a a lot of users on my site and many of them have the same last names....