Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Modifying “Sold” sign

$
0
0

Replies: 0

I would like to be able to change the wording on the “SOLD” sign, but I am unable to locate where that function can be changed. Can someone help me out?

For images with the sold sign I see the <div class="wpcm-sold">;

And then under, wp-car-manager/includes/template-hooks.php:

/**
 * Sold sign
 */
add_action( 'wpcm_vehicle_listings_item_image_start', 'wpcm_template_sold_sign', 10, 1 );
add_action( 'wpcm_vehicle_dashboard_item_image_start', 'wpcm_template_sold_sign', 10, 1 );
add_action( 'wpcm_vehicle_thumbnails', 'wpcm_template_sold_sign', 15, 1 );

And under, wp-car-manager/includes/template-functions.php:

if ( ! function_exists( 'wpcm_template_sold_sign' ) ) {
	function wpcm_template_sold_sign( $vehicle ) {
		if ( $vehicle->is_sold() ) {
			wp_car_manager()->service( 'template_manager' )->get_template_part( 'general/sold-sign' );
		}
	}
}

Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>