Created
August 26, 2014 01:03
-
-
Save gspice/2e03ff4cdc9fd1bd7ee9 to your computer and use it in GitHub Desktop.
This file contains 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
//* Filter the property details array | |
add_filter( 'agentpress_property_details', 'agentpress_property_details_filter' ); | |
function agentpress_property_details_filter( $details ) { | |
$details['col1'] = array( | |
__( 'Price:', 'agentpress' ) => '_listing_price', | |
__( 'Address:', 'agentpress' ) => '_listing_address', | |
__( 'City:', 'agentpress' ) => '_listing_city', | |
__( 'State:', 'agentpress' ) => '_listing_state', | |
__( 'ZIP:', 'agentpress' ) => '_listing_zip', | |
); | |
$details['col2'] = array( | |
__( 'MLS #:', 'agentpress' ) => '_listing_mls', | |
__( 'Square Feet:', 'agentpress' ) => '_listing_sqft', | |
__( 'Bedrooms:', 'agentpress' ) => '_listing_bedrooms', | |
__( 'Bathrooms:', 'agentpress' ) => '_listing_bathrooms', | |
__( 'Garage Spaces:', 'agentpress' ) => '_listing_garage', | |
); | |
return $details; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment