Changing options in admin select lists
-
I’ve created the simple plugin to add filters to epl and it is working to remove fields and groups of fields from the “add listing” pages.
Now I’m trying to follow the example here.
https://easypropertylistings.com.au/docs/modify-listing-categories-filters/To modify the options and defaults for land and building area units (only want Acres and Sq.Ft.) and to change the listing status to only have Active, Pending, and Sold.
So using the example linked above and field names listed here
https://easypropertylistings.com.au/docs/property-listing-custom-meta-fields/I tried adding this to my epl-filters plugin to change the property_land_area_unit selections, but it didn’t have any affect I could tell.
function epl_modify_property_land_area_unit($array) { $array = array( 'acre' => 'Acres', 'sqft' => 'Sq.Ft.' ); return $array; } add_filter('epl_listing_meta_property_land_area_unit', 'epl_modify_property_land_area_unit');
https://www.ads-software.com/plugins/easy-property-listings/
- The topic ‘Changing options in admin select lists’ is closed to new replies.