Automattic\WooCommerce\Admin\RemoteInboxNotifications

RemoteInboxNotificationsEngine::update_stored_state()public staticWC 1.0

Update the stored state option.

Метод класса: RemoteInboxNotificationsEngine{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of RemoteInboxNotificationsEngine::update_stored_state() WC 7.1.0

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