Yoast_Network_Admin::persist_settings_errors()
Persists settings errors.
Settings errors are stored in a transient for 30 seconds so that this transient can be retrieved on the next page load.
Метод класса: Yoast_Network_Admin{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->persist_settings_errors();
Код Yoast_Network_Admin::persist_settings_errors() Yoast Network Admin::persist settings errors Yoast 21.6
protected function persist_settings_errors() { /* * A regular transient is used here, since it is automatically cleared right after the redirect. * A network transient would be cleaner, but would require a lot of copied code from core for * just a minor adjustment when displaying settings errors. */ set_transient( 'settings_errors', get_settings_errors(), 30 ); }