There’s the pre_user_query action called in the prepare_query() method of the WP_User_Query class defined in wp-includes/user.php:
do_action_ref_array( 'pre_user_query', array( &$this ) );
Related Posts:
- How to filter users on admin users page by custom meta field?
- How would I be able to use a font awesome icon as a user’s avatar?
- How to bulk delete all users with no posts?
- How can I add information underneath the user’s name on the users.php page?
- How To Get User Data in Callback Function for pre_user_nicename?
- Filter users by custom colum not meta key
- Add default user field to WooCommerce checkout [closed]
- Get current user data
- How to replace username with email address in users table
- Register new user, assign custom role then send email
- How can i filter wordpress users by custom feild?
- How to pass a variable between filter/action functions?
- WP_Query filter by custom meta
- WordPress: Issue with filtering users using date range
- Custom registration field to SQL database
- Identify admin/logout and more filters
- manage_users_custom_columns filter not firing callback functions
- How do you disable the verification process of user email changes?
- Filter and manipulate the get_current_user() function
- Changing WooCommerce Display Price Based on User Role & Category [closed]
- Not able to change wp_title using add_filter
- Check if user is admin by user ID
- Remove Editor From Homepage
- What do add_filters() and apply_filter() do?
- get_users is expecting unserialized meta_value
- LEFT JOIN, INNER OUTER JOIN, LEFT OUTER JOIN is driving me crazy. Please help?
- What to use instead of the content_save_pre filter?
- Where to Store Custom User Fields
- Filtering ‘the_title’ with option to return subhead?
- Setting title using wp_title filter
- 4.0 remove_filter for WordPress core function not working for me
- Filtering admin entries for custom post type
- What hook/filter can I use to add/edit/show/hide the title under (on hover) links on the table view?
- option_active_plugins filter not working
- How do we check if the user is logging in or registering?
- Anonymous function is executed twice in wp_head while added from the_posts filter?
- add_filter return value
- Why my admin doesn’t work after adding rest_prepare_post filter?
- How do I filter title and alt attributes in the gallery shortcode?
- Does wp_delete_user() remove all user content?
- remove_action in plugin file
- How to apply filter at search of woocommerce products?
- Filtering post-formats from the loop using new WP-Query();
- In what part of the WordPress core does the users table and usermeta table get joined?
- How to pass user meta_key and meta_value (values as array)
- Filter Media by Featured on Admin
- WPML Default Language User Meta [closed]
- How to add a filter to get_the_author_meta?
- When does a function assigned to the content_filtered_edit_pre filter hook fire?
- Search Users base on meta_value & meta_key
- page_attributes_dropdown_pages_args filter does not work
- What different ways can a plugin add a filter to a WordPress site?
- Make an array filterable per hook
- Passing args to WP_User_Query am I using meta correctly?
- How to pass variables to custom filter from multiple functions
- WordPress Image update filter
- How to remove this filter?
- Why does WordPress strip custom HTML that are form elements and theme SVG icons?
- Load Posts’ individual body content on index starting at char 200 of each post
- How can you wrap add_filter with a if is_home() statement?
- Getting list of top 10 users and sort on last name
- How to combine multiple body classes
- Associate multiple email addresses with the same user account, so they can log in with either
- how to set default update_user_meta values wordpress
- why require – does not load filter
- term_link filter rewrite link only applying half of condition?
- Update a user profile via frontend
- How to change dynamically page title according to variable data?
- How can I filter tag_description()?
- What is the action hook to use if you want to capture the new password during password change?
- Get_template_part inside filter?
- Need to return shortcode text instead of the output
- Dashboard filter based on custom fields URL response code
- I want to add string array to this function to filter displayed option in drpodown [closed]
- Getting user data via ajax
- Remove style tags from head
- How to wrap pattern-matches from the_content in [wiki]-shortcode tags
- wp_get_current_user Not working
- how to develop a filter in wordpress to let the user filter the page content depends on the date (newest to oldest etc…)?
- Print only parent categories of post in custom RSS feed
- Use add_filter inside another function
- How to filter reading/visibility posts based on role?
- Admin view: filter posts by whether they have specific taxonomy attached
- Filter posts by categories ajax is showing all the posts
- Incrementing content with extra text after save/publish
- Filter and validate user role in registration
- UserMeta Changes Meta Value for Post ID
- How to use a TinyMCE filter?
- Unable to get WordPress’s apply_filters(‘site_url’) to return a https scheme
- String Replace Caching & Chance of Collisions
- is_page_template() doesn’t work with excerpt_length filter
- Admin filter/error if post title is too long
- What is the scope and persistence of add_filter() and remove_filter()?
- Echo text if field under user_meta is empty with get_users()
- GET form action. Redirect to self
- After adding filter to plugin’s code, post’s content doesn’t display
- if i put the code in my theme’s function.php file can it work?
- Admin New Order: Autofocus on Search a product
- Is it possible to dynamically change the “page_for_posts” option?
- Why is the change in my query not taking into account