"$keyword { $body }" ); $context = stream_context_create( array( 'http' => array( 'method' => 'POST', 'header' => array( 'Accept: application/json', 'Content-Type: application/json', 'User-Agent: GitHub action to set the milestone for a pull request', 'Authorization: bearer ' . $github_token, ), 'content' => json_encode( $data ), ), ) ); $result = file_get_contents( $graphql_api_url, false, $context ); return is_string( $result ) ? json_decode( $result, true ) : $result; } // phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped, WordPress.WP.AlternativeFunctions