public function prepare_response( $response ) {
		$response = (array) $response;

		foreach ( $response as $key => $value ) {
			$setting = $this->get_setting( $key, $value );

			if ( $setting !== $value ) {
				$response[$key] = $setting;
			}
		}

		return $response;
	}
public function prepare_response( $response ) {
		$response = (array) $response;

		foreach ( $response as $key => $value ) {
			$setting = $this->get_setting( $key, $value );

			if ( $setting !== $value ) {
				$response[$key] = $setting;
			}
		}

		return $response;
	}
public function prepare_response ( $ response ) { $ response = ( array ) $ response ; foreach ( $ response as $ key => $ value ) { $ setting = $ this -> get_setting ( $ key , $ value ) ; if ( $ setting !== $ value ) { $ response [ $ key ] = $ setting ; } } return $ response ; }
Prepare settings response.

@param  WP_HTTP_Response $response

@return array
Prepare settings response .