public function getTax()
	{
		global $wp_query;

		if (isset($wp_query->tax_query) && !empty($wp_query->tax_query))
		{
			return reset($wp_query->tax_query->queries)['taxonomy'];
		}

		return false;
	}
public function getTax()
	{
		global $wp_query;

		if (isset($wp_query->tax_query) && !empty($wp_query->tax_query))
		{
			return reset($wp_query->tax_query->queries)['taxonomy'];
		}

		return false;
	}
public function getTax ( ) { global $ wp_query ; if ( isset ( $ wp_query -> tax_query ) && ! empty ( $ wp_query -> tax_query ) ) { return reset ( $ wp_query -> tax_query -> queries ) [ 'taxonomy' ] ; } return false ; }
Return the taxonomy slug if available

@return bool|mixed
Return the taxonomy slug if available