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
- Custom theme hooks / filters – passing arguments
- How to get users by a custom field / by user meta data?
- Wp_User_Query not sorting by meta key
- What params are available with the_content filter?
- How to hook wp_list_pages?
- Plugin that would allow WordPress Authors to “follow” other Authors and query “Activity Info” from that
- WordPress Rest filter for custom taxonomy gets applied to the admin area
- add class to internal links in content
- Am I using the right hook for removing quicktags on the admin TinyMCE?
- How to link current user to their author page through shortcodes
- filter title from shortcode
- Taxonomy Custom Column – ‘manage_{TAXONOMY}_custom_column’ filter only passing 2 arguments
- How to get list of all hooks of current theme / plugin?
- get_query stops working after post filter
- How to filter into post meta data before saving
- Can you use add_filter() inside other function?
- is there a specific place where add_filter must be placed?
- Unique User Account Number + Displayed Via Shortcode
- add_filter() function misunderstanding
- How to make a widget expand wider than the column width when editing its settings in the admin
- Is there a wildcard/catchall filter hook?
- Apply the_content filter, but prevent other hooked actions
- Filter my args by the post 1st letter
- Can the wp_filter object hold multiple values with the same key
- apply_filters/do_action tag characters limit
- How to get a list of all possible values of a specific user meta key?
- Adding Filter to Homepage only
- the_excerpt filter with an empty excerpt
- Add Defer Attributes to WordPress Scripts with consistent versioning
- Remove CSS & JS files from WordPress Main Page For Increase Pagespeed?
- String regex match replace for role ‘contributor’ only
- Can plugins that filter post contents work on posts from Word 2007?
- Filter out other users comments. Visualize only own comments and editor role users’ comments
- Better extend a class or use add filter/action hooks?
- How can I attach a user to another user with user meta
- Link to Shop-Filter with .current-menu-item
- Adding a Clone link to product attributes – post_row_actions() filter, or how to override a Class question
- wp_upload_bits Upload Specific Sizes Only
- Remove / Hide Attachment Display Settings in Add Media popup / dialog
- how to customize rss feed tags using hooks?
- Woocommerce “added to cart” message on main(home) page
- Why does adding a filter to ‘the_title’ break the server?
- Add filter for specific post type only
- Avoid user registrations with specific email provider
- Should I remove_filter in order to replace a filter?
- Users table missing from Database [closed]
- How can I specify the post status of an untrashed post?
- filter hook to load a different post/page on current post/page
- Send admin new order email to logged in user as well
- Front-End User Profile
- Rewrite rule and display of post
- add_filter the_content doesn’t work
- Redirect to woocommerce checkout after adding to cart – item already in cart
- Passing variable from child theme function to parent theme filter
- `authenticate` filter never gets called
- wp_insert_user not creating account correctly when ID is manually set
- How to disable a wp filter in a certain admin panel page
- Is there a filter to programmatically change the HTML tab switching output of the page editor?
- User Meta stuff
- Why does admin_body_class not work?
- post_orderby filter breaks function
- Disable Remember Me in Login Form
- Counting a WP_Post Object value in an arary, using a filter?
- How do I update user email from frontend input field?
- List all categories that have results in a query
- Distinguish between page and post in function
- How to get all multi-select user meta values and add them to an array?
- How to filter page title for certain page?
- Displaying posts on a page that have been assigned a value in a database
- Replace Text with hyperlinks
- adding an action inside if condition not working
- Adding filter to an specific page/site direction
- How to filter wp_get_recent_posts() to only posts that have thumbnails?
- How to check which submission button was clicked?
- check, if any “add_action” function contains string XXXXXXXXX
- remove_action conditionally for Custom Post Type – not working
- wp_get_attachment_link filter not working
- How would I remove an inline googleAPI font script in the the parent theme header.php?
- Joining tables not working in the post editor page
- add_filter(‘the_content’, ‘method’) does not trigger my custom method
- Limit total tags in the_content