Profile
Achievement
camdagr8's Recent Snippets
- All /
« Prev 1 Next »
Calculates the time in hh:mm:ss between two dates
Usage:
var past = new Date('1/1/2013');
var now = new Date();
var lapsed = past.lapsed(now);
0
788
posted 10 years ago by camdagr8
I pinched the get_avatar() function from the wp/wp-includes/pluggable.php file and commented out the setting of the avatar as an <img> tag and returned the actual image url instead.
0
688
posted 13 years ago by camdagr8