Forked from davebonds/wp-listings-details-filter.php
Last active
August 29, 2015 14:19
-
-
Save bhubbard/1e8b3dd055c7510c7571 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add filter for listing details | |
add_filter( 'wp_listings_property_details', 'custom_wp_listings_details'); | |
function custom_wp_listings_details() { | |
$property_details_columns = array( | |
'col1' => array( | |
__( 'Price:', 'wp_listings' ) => '_listing_price', | |
__( 'Address:', 'wp_listings' ) => '_listing_address', | |
__( 'City:', 'wp_listings' ) => '_listing_city', | |
__( 'State:', 'wp_listings' ) => '_listing_state', | |
__( 'ZIP:', 'wp_listings' ) => '_listing_zip', | |
__( 'MLS #:', 'wp_listings' ) => '_listing_mls', | |
__( 'Open House Time & Date:', 'wp_listings' ) => '_listing_open_house' | |
), | |
'col2' => array( | |
__( 'Year Built:', 'wp_listings' ) => '_listing_year_built', | |
__( 'Floors:', 'wp_listings' ) => '_listing_floors', | |
__( 'Square Feet:', 'wp_listings' ) => '_listing_sqft', | |
__( 'Lot Square Feet:', 'wp_listings' ) => '_listing_lot_sqft', | |
__( 'Bedrooms:', 'wp_listings' ) => '_listing_bedrooms', | |
__( 'Bathrooms:', 'wp_listings' ) => '_listing_bathrooms', | |
__( 'Garage:', 'wp_listings' ) => '_listing_garage' | |
), | |
) ; | |
return $property_details_columns; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment