Skip to content

Commit

Permalink
New property for WP_Query.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jul 6, 2023
1 parent 9566bdf commit db1691a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions schemas/query.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"posts",
"post_count",
"current_post",
"before_loop",
"in_the_loop",
"current_comment",
"found_posts",
Expand Down Expand Up @@ -169,6 +170,10 @@
"description": "Index of the current item in the loop.",
"type": "integer"
},
"before_loop": {
"description": "Whether the caller is before the loop.",
"type": "boolean"
},
"in_the_loop": {
"description": "Whether the loop has started and the caller is in the loop.",
"type": "boolean"
Expand Down

0 comments on commit db1691a

Please sign in to comment.