whole_func_string: function( state, action ) {
  	if ( typeof state[ action.siteId ] !== 'undefined' ) {
  		return Object.assign( {}, state, {
  			[ action.siteId ]: pluginsForSite( state[ action.siteId ], action ),
  		} );
  	}
  	return state;
  }
func_code_string: function( state, action ) {
  	if ( typeof state[ action.siteId ] !== 'undefined' ) {
  		return Object.assign( {}, state, {
  			[ action.siteId ]: pluginsForSite( state[ action.siteId ], action ),
  		} );
  	}
  	return state;
  }
func_documentation_string: /*
  Helper function to update a plugin's state after a successful plugin action
  (multiple action-types are possible)