Share

Returns a string with a human friendly time since a member joined the site.

This requires the BuddyPress plug in. You can pass a $user_id in the function for that users duration. Alternatively, it shows the displayed users duration.

The Code

Usage

To insert into a template file, you would add the following:

<?php if (function_exists('fphp_get_member_since')) echo fphp_get_member_since(); ?>

Share