You can modify the WPGraphQL endpoint in code with the following: This will change the graphql endpoint url from /graphql to /cutepuppies This also updates the WPGraphQL settings page:
The following example code allows you to add WP Admin Color Schemes data to WPGraphQL.
This snippet logs all WPGraphQL requests to the error log
Labels on Post Types are not publicly exposed by WordPress. They are attributes for use in the Admin, and are treated with respect to proper access to the admin. To see the labels, the user requesting them must be authenticated. When a user requesting a PostType, these are the following fields that are by default allowed …
This snippet outputs the $_SERVER superglobal so we can see if the Authorization token is being passed to the server or not.