WPSEO_Tracking::exceeds_treshhold()protectedYoast 1.0

Checks if the given amount of seconds exceeds the set threshold.

Метод класса: WPSEO_Tracking{}

Хуков нет.

Возвращает

true|false. True when seconds is bigger than threshold.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->exceeds_treshhold( $seconds );
$seconds(int) (обязательный)
The amount of seconds to check.

Код WPSEO_Tracking::exceeds_treshhold() Yoast 22.4

protected function exceeds_treshhold( $seconds ) {
	return ( $seconds > $this->threshold );
}