Hi for me fast solution is to use custom query
for eg.
$sql="SELECT
`wp_users`.`ID`
, `wp_users`.`user_login`
, `wp_users`.`user_pass`
, `wp_users`.`user_nicename`
, `wp_users`.`user_email`
, `wp_users`.`user_url`
, `wp_users`.`user_registered`
, `wp_users`.`user_activation_key`
, `wp_users`.`user_status`
, `wp_users`.`display_name`
, `wp_posts`.`post_date`
FROM
`wp_users`
LEFT JOIN `wp_posts`
ON (`wp_users`.`ID` = `wp_posts`.`post_author`)
GROUP BY `wp_users`.`ID`
ORDER BY `wp_posts`.`post_date` DESC;";
global $wpdb;
$results=$wpdb->get_results($sql);
foreach($results as $result) {
echo $result->ID; //and so on
}
Related Posts:
- wp_remote_get() and javascript/noscript situation
- Add a class with body_class to a specific url with parameter
- Post title as link parameter
- How to change window ratio in teachpress “tplist”
- Why “?v=hash” is added to my URLs? [closed]
- use query string in URL to display content on the page
- Open WordPress ‘Add New Post’ admin page with parameters set via $_GET
- Pulling a parameter out of the URL of a WP link without “?” or being sent to a different page
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- get_the_title($postID) OR get_the_title()?
- CPT archive 404ing when using a custom taxonomy name as a variable
- Making extra parameters optional
- Why does rewrite rule work for page not for custom post type post?
- Add attribute to existing Shortcode
- oEmbed vimeo with add_query_arg parameters not inserted to HTML
- Determine WP_Query parameters from URL
- append url parameters to all links
- WordPress ajax function parameter value not being passed
- REST API parameters not working with nginx
- Load custom template for specific GET parameter
- Returning a value from a PHP page
- How to get variables from fucntion.php to my plugin files
- Create URL with parameter for JQuery toggle status
- How do I pass arguments for multiple functions hooked to a single action?
- Query string parameters from custom fields, inconsistent results
- Add custom parameter to REST API request of a custom post type?
- Changing WP_Query params with url Query Var
- Pass GET params to URL from a main menu item
- Get URL Param Plugin and Inserting Result in Widget Code
- Dynamically change page title from URL param
- How to add parameter to wp_enqueue_script?
- Pass additional parameter in the URL
- How do I retain url parameters the entire time a user browses my site?
- Get value from shortcode to do something
- Rewrite custom post type URL parameters
- Adding parameters to password reset key
- 404 error when passing “cat” parameter to URL
- Assign category to new post via URL
- Is there a link parameter that will show me all my published pages?
- Making extra parameters optional
- Using different parameters for different queries with pre get posts in functions.php
- Website Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Wppr_Public’ does not have a method ‘amp_support’
- post_parent array doesn’t work
- Passing parameters to a static front page
- How to return hook data when multiple parameters are present?
- HTTP 403 Error when passing parameters to URL
- WordPress get parameter ‘unapproved’ and ‘moderation-hash’
- missing argument 2 when passing arguments to add_action
- How to parse a custom url (within WP site) and obtain params passed to that URL
- why do I have to use required parametres?
- Where is this function’s callback getting its arguments from?
- Passing values through url for checkbox fields with same name to get?
- Can I pass parameters to the add_shortcode() function?
- Handle multiple parameters in filter
- Custom HTML title based on URL parameter
- Get param from shortcode in plugin function
- shortcode – multiple instances of same parameter name in one shortcode instance
- How to get setting from separate file?
- What is wrong with my WP_Query Arguments?
- How to pass on a value as parameter via url to another page
- Why won’t the action hook wp_head accept parameters?
- How do I pass $in_foooter to wp_enqueue_script() without passing other params?
- Adding a Tag Parameter / Filter to My Shortcode
- Adding query parameter to archive page returns 404
- Warning at top of website & top menu gone
- How to get a page url segment on wordpress?
- Append a parametter at first or last to a certain URL
- How to pass parameters in wordpress shortcode?
- Problem parsing long parameter in shortcode
- Display value of the GET parameter in a new URL page
- Show data obtained from a function and place it in a shortocode function
- How do i fix this “call_user_func_array()” error
- wordpress automatic URL ‘page’ parameter rewrite
- Add more than one query parameter onto wordpress url
- Get posts from year from URL
- add_action with associative array
- How to pass username in url
- Url parameter going to 404 not found
- How Can I Display the Last Modified Date for User Profiles on WordPress?
- Add addtional page parameter before loading the page
- How do I rewrite URL that has custom parameter
- Shortcode not interpreted if parameter set
- Pass post title as URL parameter
- Why get_terms() behaves strangely when being called in admin (for use in meta box)?
- YearMonth datequery
- Get parameters and custom page template
- Redirect based on $_GET parameters
- How to change this internal image link parameter using PHP?
- How to pass parameters thru URL?
- How to pass parameter that ends up being part of a class name with wordpress shortcode
- Custom URL segment parameters for posts
- Custom Post Type URL Rewriting
- Adding Parameters to get_comment
- Post AND page parameter for WP function
- How to use query string in URL to display content on the wordpress page
- Is it possible to change a shortcode parameter based on a media query?
- What are the parameters are used in add_action and filters?
- Registration fields prefilled with URL parameters
- WordPress WP_Query Search (‘s’) With Multiple Search Terms
- Prevent URL Parameter Affecting other WP Query