post_status != 'auto-draft')
{
if ($post->post_type == 'property')
{
// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- The public property rendering helpers consume this shared property context.
$property = new PH_Property((int)$post->ID);
echo '
';
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Thumbnail producer escapes image URL/title/class and placeholder dimensions before the trusted propertyhive_placeholder_img HTML filter; preserve extension image markup.
echo propertyhive_get_property_thumbnail('thumbnail', 'alignleft');
echo '
' . esc_html(get_the_title($post->ID)) . '
';
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Price producers escape stored text before trusted propertyhive_price_output and commercial child HTML filters; preserve extension formatting.
echo '
' . $property->get_formatted_price() . '
';
echo '
';
echo '
';
}
}
}
}
new PH_Admin_Header_Stripes();