Ejemplo n.º 1
0
function wpsight_listings_edit_columns($columns)
{
    $columns = array('cb' => '<input type="checkbox" />', 'title' => __('Title', 'wpsight'), 'listing_details' => __('Details', 'wpsight'), 'listing_price' => __('Price', 'wpsight') . ' (' . wpsight_get_currency() . ')', 'listing_features' => __('Features', 'wpsight'), 'listing_image' => __('Image', 'wpsight'), 'listing_agent' => __('Agent', 'wpsight'), 'date' => __('Published', 'wpsight'));
    return $columns;
}
Ejemplo n.º 2
0
/**
 * Echo currency HTML entity from theme options
 *
 * @since 1.0
 */
function wpsight_currency($currency = '')
{
    echo wpsight_get_currency($currency);
}