WPSEO_Addon_Manager::set_site_information_transient()
Sets the site information transient.
Метод класса: WPSEO_Addon_Manager{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->set_site_information_transient( $site_information );
- $site_information(stdClass) (обязательный)
- The site information to save.
Код WPSEO_Addon_Manager::set_site_information_transient() WPSEO Addon Manager::set site information transient Yoast 25.0
protected function set_site_information_transient( $site_information ) { set_transient( self::SITE_INFORMATION_TRANSIENT, $site_information, DAY_IN_SECONDS ); set_transient( self::SITE_INFORMATION_TRANSIENT_QUICK, $site_information, 60 ); }