Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
*** @integrate co-author plus with Ultimate Member
function um_integrate_coauthor( $args ){
global $ultimatemember;
$posts_query = $ultimatemember->query->make('post_type=post&posts_per_page=12&offset=0&author_name=' . um_user('user_login') );
return $posts_query;
Copy link

tmueller01 commented Feb 28, 2018


where must i install this script?

Copy link

tmazawi commented Mar 3, 2018

First i want to thank the author, Great code worked perfectly.
@tmueller01 you just needs to add it to the index.php file (add it to the end of the script) in the root folder of ultimate member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment