Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WPUM Get user profile page by author ID
<?php
$user = get_user_by( 'id', get_the_author_meta( 'ID' ) );
?>
<a href="<?php echo wpum_get_user_profile_url( $user ); ?>">Custom Text Here</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.