wpCasa: Add custom content before listing content in latest listings widget
<?php
/**
* Add custom content before listing content in latest listings widget
*/
add_action( 'wpsight_widget_listing_content_before', 'custom_widget_listing_content_before' );
function custom_widget_listing_content_before() {
echo '<a href="' . get_the_permalink( get_the_ID() ) . '">' . __( 'Button Label', 'wpsight' ) . '</a>';
}