Rent Fetch provides several general-purpose category structures (taxonomies), and it’s quite possible to change their labels to match your actual needs (think “shirt categories” vs. “colors” or “sizes,” for example.
The identifiers for all of the default taxonomies are as follows:
- floorplancategory
- floorplantype
- amenities (this is a property taxonomy)
- propertytypes
- propertycategories
To change the label, use the example below to add a similar function to your functions.php file:
// Change the label of the 'propertytypes' taxonomy
function your_prefix_change_property_types_label() {
global $wp_taxonomies;
$labels = $wp_taxonomies['propertytypes']->labels;
$labels->name = 'Thingies';
$labels->singular_name = 'Thingie';
$labels->add_new = 'Add Thingie';
$labels->add_new_item = 'Add Thingie';
$labels->edit_item = 'Edit Thingie';
$labels->new_item = 'Thingie';
$labels->view_item = 'View Thingie';
$labels->search_items = 'Search Thingies';
$labels->not_found = 'No Thingies found';
$labels->not_found_in_trash = 'No Thingies found in Trash';
$labels->all_items = 'All Thingies';
$labels->menu_name = 'Thingie';
$labels->name_admin_bar = 'Thingie';
}
add_action( 'wp_loaded', 'your_prefix_change_property_types_label' );