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
823
posted 11 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
710
posted 13 years ago by camdagr8