PluginProbe
Property Hive / 2.3.1
Property Hive v2.3.1
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
← All changes | includes/avada-widgets/property-address-postcode.php +16 -11 2.2.32.3.1 View file →
@@ -1,8 +1,13 @@
1 1 <?php
2 2
3 +if ( ! defined( 'ABSPATH' ) ) {
4 + exit;
5 +}
6 +
7 +
3 8 fusion_builder_map( array(
4 - 'name' => esc_attr__( $widget, 'propertyhive' ),
9 + 'name' => esc_attr__( 'Property Address Postcode', 'propertyhive' ),
5 10 'shortcode' => 'avada_' . str_replace("-", "_", sanitize_title($widget)),
6 11 'icon' => 'fusiona-flag', // Use a Fusion icon
7 12 'preview' => dirname( PH_PLUGIN_FILE ) . '/includes/avada-widgets/' . sanitize_title($widget) . '-preview.php',
8 13 'preview_id' => 'fusion-builder-block-module-' . sanitize_title($widget) . '-preview-template',
@@ -8,10 +13,10 @@
8 13 'preview_id' => 'fusion-builder-block-module-' . sanitize_title($widget) . '-preview-template',
9 14 'params' => array(
10 15 [
11 16 'type' => 'radio_button_set',
12 - 'heading' => esc_attr__( 'Alignment', 'fusion-builder' ),
13 - 'description' => esc_attr__( 'Choose to align the output left, right or center.', 'fusion-builder' ),
17 + 'heading' => esc_attr__( 'Alignment', 'propertyhive' ),
18 + 'description' => esc_attr__( 'Choose to align the output left, right or center.', 'propertyhive' ),
14 19 'param_name' => 'content_align',
15 20 'responsive' => [
16 21 'state' => 'large',
17 22 'default_value' => true,
@@ -16,22 +21,22 @@
16 21 'state' => 'large',
17 22 'default_value' => true,
18 23 ],
19 24 'value' => [
20 - 'left' => esc_attr__( 'Left', 'fusion-builder' ),
21 - 'center' => esc_attr__( 'Center', 'fusion-builder' ),
22 - 'right' => esc_attr__( 'Right', 'fusion-builder' ),
25 + 'left' => esc_attr__( 'Left', 'propertyhive' ),
26 + 'center' => esc_attr__( 'Center', 'propertyhive' ),
27 + 'right' => esc_attr__( 'Right', 'propertyhive' ),
23 28 ],
24 29 'default' => 'left',
25 - 'group' => esc_attr__( 'Design', 'fusion-builder' ),
30 + 'group' => esc_attr__( 'Design', 'propertyhive' ),
26 31 ],
27 32 [
28 33 'type' => 'typography',
29 34 //'remove_from_atts' => true,
30 35 'global' => true,
31 - 'heading' => esc_attr__( 'Typography', 'fusion-builder' ),
36 + 'heading' => esc_attr__( 'Typography', 'propertyhive' ),
32 37 'param_name' => 'main_typography',
33 - 'group' => esc_attr__( 'Design', 'fusion-builder' ),
38 + 'group' => esc_attr__( 'Design', 'propertyhive' ),
34 39 'choices' => [
35 40 'font-family' => 'address_postcode_font',
36 41 'font-size' => 'font_size',
37 42 'line-height' => 'line_height',
@@ -48,11 +53,11 @@
48 53 ],
49 54 ],
50 55 [
51 56 'type' => 'colorpickeralpha',
52 - 'heading' => esc_attr__( 'Font Color', 'fusion-builder' ),
57 + 'heading' => esc_attr__( 'Font Color', 'propertyhive' ),
53 58 'param_name' => 'text_color',
54 59 'value' => '',
55 - 'group' => esc_attr__( 'Design', 'fusion-builder' ),
60 + 'group' => esc_attr__( 'Design', 'propertyhive' ),
56 61 ],
57 62 ),
58 63 ) );