WP Admin

    Update WPGraphQL Endpoint URL

    You can modify the WPGraphQL endpoint in code with the following:

    Add WP Admin Color Schemes to WPGraphQL

    The following example code allows you to add WP Admin Color Schemes data to WPGraphQL.

    Log WPGraphQL requests to error log

    This snippet logs all WPGraphQL requests to the error log

    Filter to add restricted field on Model

    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.

    Debugging JWT Authentication

    This snippet outputs the $_SERVER superglobal so we can see if the Authorization token is being passed to the server or not.