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
propertyhive / includes / admin / views / html-lightbox-property-details.php

html-lightbox-property-details.php in Property Hive 2.3.1, at includes/admin/views/html-lightbox-property-details.php

24 lines 981 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
5 // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template-local variable in an admin view; PHPCS analyzes the view file standalone even though WordPress includes it inside a method/function scope.
6 $property = new PH_Property((int)$property_id);
7
8 ?>
9
10 <div class="thumbnail">
11 <img src="<?php echo esc_url($property->get_main_photo_src()); ?>" alt="">
12 </div>
13
14 <div class="details">
15
16 <div class="address"><a href="<?php echo esc_url(get_edit_post_link((int)$property_id)); ?>"><?php echo esc_html($property->get_formatted_summary_address()); ?></a></div>
17
18 <div class="price"><?php
19 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Price producers escape stored values before trusted currency, commercial and propertyhive_price_output HTML filters.
20 echo $property->get_formatted_price(); ?></div>
21
22 </div>
23
24 <div style="clear:both"></div>