Fixes. Add mortgage single setting. Tag 1.5.1

This commit is contained in:
Hoang Huu
2020-06-01 13:31:23 +07:00
parent 3b24e7c6d2
commit c6a75c3b49
8 changed files with 84 additions and 28 deletions

View File

@@ -500,6 +500,17 @@ class Opalestate_Property_MetaBox {
'options' => $templates,
'description' => esc_html__( 'Select a layout to display full information of this property', 'opalestate-pro' ),
],
[
'name' => esc_html__( 'Show Mortgage Calculator', 'opalestate-pro' ),
'id' => "{$prefix}enable_single_mortgage",
'type' => 'select',
'options' => [
'' => esc_html__( 'Inherit', 'opalestate-pro' ),
'on' => esc_html__( 'Enable', 'opalestate-pro' ),
'off' => esc_html__( 'Disable', 'opalestate-pro' ),
],
'description' => esc_html__( 'Show Mortgage Calculator', 'opalestate-pro' ),
],
];
return apply_filters( 'opalestate_postype_property_metaboxes_fields_layout', $fields );