Abstract_Currency::get_string()


Source

File: src/Tribe/Values/Abstract_Currency.php

	public function get_string() {

		/**
		 * Filter the value returned for get_string() when implemented in a specific class type
		 *
		 * @since 4.14.9
		 *
		 * @param string $string the string representation of the value
		 * @param Abstract_Currency the object instance
		 *
		 * @return string
		 */
		$string = apply_filters( "tec_common_value_{$this->get_value_type()}_get_string", $this->string, $this );

		/**
		 * Filter the value returned for get_string() when implemented in any class
		 *
		 * @since 4.14.9
		 *
		 * @param string $string the string representation of the value
		 * @param Abstract_Currency the object instance
		 *
		 * @return string
		 */
		return apply_filters( 'tec_common_value_get_string', $string, $this );
	}