Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
wp-content
/
plugins
/
foogallery
/
includes
/
foopluginbase
/
functions
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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 ); } }