WP Manifestindependent plugin directory
manifest / developer / wp-graphql-enqueue

WPGraphQL for WordPress Scripts and Styles

Automatically add Enqueued Scripts and Styles to WPGraphQL

★ 8stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/emaildano/wp-graphql-enqueue/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Automatically add Enqueued Scripts and Styles to WPGraphQL

Requirements

Example Usage

Query

{
  styles {
    edges {
      node {
        handle
        id
        src
      }
    }
  }
}

Response

 {
  "node": {
    "handle": "common",
    "id": "common",
    "src": "/wp-admin/css/common.min.css"
  }
}