Automattic\WooCommerce\Admin\RemoteInboxNotifications
RemoteInboxNotificationsEngine::update_stored_state
Update the stored state option.
Method of the class: RemoteInboxNotificationsEngine{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = RemoteInboxNotificationsEngine::update_stored_state( $stored_state );
- $stored_state(object) (required)
- The stored state.
RemoteInboxNotificationsEngine::update_stored_state() RemoteInboxNotificationsEngine::update stored state code WC 10.9.4
public static function update_stored_state( $stored_state ) {
update_option( self::STORED_STATE_OPTION_NAME, $stored_state, false );
}