Automattic\WooCommerce\Admin\RemoteInboxNotifications

RemoteInboxNotificationsEngine::update_stored_state()public staticWC 1.0

Update the stored state option.

Method of the class: RemoteInboxNotificationsEngine{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = RemoteInboxNotificationsEngine::update_stored_state( $stored_state );
$stored_state(object) (required)
The stored state.

RemoteInboxNotificationsEngine::update_stored_state() code WC 8.7.0

public static function update_stored_state( $stored_state ) {
	update_option( self::STORED_STATE_OPTION_NAME, $stored_state, false );
}