WPCF7_Submission::posted_data_hash_tick
Returns the time-dependent variable for hash creation.
Метод класса: WPCF7_Submission{}
Хуков нет.
Возвращает
float. Float value rounded up to the next highest integer.
Использование
// private - только в коде основоного (родительского) класса $result = $this->posted_data_hash_tick();
Код WPCF7_Submission::posted_data_hash_tick() WPCF7 Submission::posted data hash tick CF7 6.1.4
private function posted_data_hash_tick() {
return ceil( time() / ( HOUR_IN_SECONDS / 2 ) );
}