Automattic\WooCommerce\Admin\RemoteInboxNotifications
RemoteInboxNotificationsEngine::update_stored_state()
Update the stored state option.
Метод класса: RemoteInboxNotificationsEngine{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = RemoteInboxNotificationsEngine::update_stored_state( $stored_state );
- $stored_state(объект) (обязательный)
- The stored state.
Код RemoteInboxNotificationsEngine::update_stored_state() RemoteInboxNotificationsEngine::update stored state WC 9.3.3
public static function update_stored_state( $stored_state ) { update_option( self::STORED_STATE_OPTION_NAME, $stored_state, false ); }