Tribe__Tickets__Commerce__Currency::hook()

Hooks the actions and filters required by the class.

Contents


Source

File: src/Tribe/Commerce/Currency.php

	public function hook(  ) {
		add_filter( 'tribe_currency_symbol', array( $this, 'filter_currency_symbol' ), 10, 2 );
		add_filter( 'tribe_currency_cost', array( $this, 'filter_currency_cost' ), 10, 2 );
		add_filter( 'tribe_reverse_currency_position', array( $this, 'reverse_currency_symbol_position' ), 10, 2 );
		add_filter( 'get_post_metadata', array( $this, 'filter_cost_meta' ), 10, 4 );
	}

Top ↑

Changelog

Changelog
Version Description
4.7 Introduced.