File "dates.php"
Full path: /home/satitravel/public_html/wp-content/plugins/foogallery/includes/foopluginbase/functions/dates.php
File
size: 586 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
/*
* Foo Functions - Dates
* A bunch of common and useful functions related to dates
*
* Author: Brad Vincent
* Author URI: http://fooplugins.com
* License: GPL2
*/
if ( !function_exists( 'foo_friendly_date' ) ) {
/**
* Return a friendly date compared to the current date
*
* @param $timestamp string|int The timestamp we want return a friendly date for
*
* @return string A friendly date
*/
function foo_friendly_date( $timestamp ) {
$instance = new Foo_Friendly_Dates_v1();
return $instance->friendly_date( $timestamp );
}
}