public/wordpress/wp-content/plugins/wp-courseware/includes/functions/core.php
/**
 * Get Currency Format.
 *
 * @since 4.3.0
 *
 * @return string The currency format.
 */
Get Currency Format.

@return string The currency format.
Get Currency Format . @return string The currency format .
function wpcw_get_currency_format() {
	$currency_pos = wpcw_get_currency_position();
	$format       = '%1$s%2$s';
	switch ( $currency_pos ) {
		case 'left' :
			$format = '%1$s%2$s';
			break;
		case 'right' :
			$format = '%2$s%1$s';
			break;
		case 'left_space' :
			$format = '%1$s&nbsp;%2$s';
			break;
		case 'right_space' :
			$format = '%2$s&nbsp;%1$s';
			break;
	}
	return apply_filters( 'wpcw_currency_format', $format, $currency_pos );
}
function wpcw_get_currency_format ( ) { $ currency_pos = wpcw_get_currency_position ( ) ; $ format = '%1$s%2$s' ; switch ( $ currency_pos ) { case 'left' : $ format = '%1$s%2$s' ; break ; case 'right' : $ format = '%2$s%1$s' ; break ; case 'left_space' : $ format = '%1$s&nbsp;%2$s' ; break ; case 'right_space' : $ format = '%2$s&nbsp;%1$s' ; break ; } return apply_filters ( 'wpcw_currency_format' , $ format , $ currency_pos ) ; }
Get Currency Format.
Get Currency Format .