epl_property_supports allows you to adjust the post type supports options
The epl_property_supports filter allows you to adjust what the property post type supports. See WordPress post_type_supports.
The defaults are:
'supports' => 'title', 'editor', 'author', 'thumbnail', 'excerpt' , 'comments' ) ),
To enable post revisions create a function and add to your themes functions file.
function my_epl_property_supports() {
$supports = array(
'title',
'editor',
'author',
'thumbnail',
'excerpt',
'comments',
'revisions'
);
return $supports;
}
add_filter( 'epl_property_supports' , 'my_epl_property_supports' );
Each of the post types have the same filters:
- epl_land_supports
- epl_rental_supports
- epl_rural_supports
- epl_business_supports
- epl_commercial_supports
- epl_commercial_land_supports