Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Add alttext to media query
Browse files Browse the repository at this point in the history
  • Loading branch information
ravewebdev committed Apr 23, 2021
1 parent 32fb2e2 commit 9f9b55f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/wordpress/media/queryMediaAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {gql} from '@apollo/client'
const queryMediaAttributes = gql`
query GET_MEDIA_ATTS($id: ID!) {
mediaItem(id: $id, idType: DATABASE_ID) {
altText
mediaItemUrl
mediaDetails {
height
Expand Down

0 comments on commit 9f9b55f

Please sign in to comment.