Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $top_authors = array(3) {
- [0] => array(2) {
- ["id"]=> string(1) "1"
- ["sale"]=> int(20)
- }
- [1] => array(2) {
- ["id"]=> string(1) "3"
- ["sale"]=> int(5)
- }
- [2] => array(2) {
- ["id"]=> string(1) "12"
- ["sale"]=> int(125)
- }
- }
- $args = apply_filters( 'theme_hook_top_authors_query',
- array(
- 'number' => 10,
- 'include' => implode(',', $author_ids),
- 'orderby' => 'include'
- )
- );
- $user_query = new WP_User_Query( $args );
Add Comment
Please, Sign In to add comment