Skip to content

Commit 6c7f173

Browse files
committed
Version 0.9.0.
1 parent 0abd3b3 commit 6c7f173

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@johnbillion/wp-hooks-generator",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"description": "Generates a JSON representation of the WordPress actions and filters in your code",
55
"private": true,
66
"repository": {

schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://github.com/wp-hooks/generator/blob/0.8.0/schema.json",
3+
"$id": "https://github.com/wp-hooks/generator/blob/0.9.0/schema.json",
44
"title": "HooksContainer",
55
"description": "The container for the list of hooks",
66
"type": "object",

src/generate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function parse_aliases( string $html ) : array {
268268
} ) );
269269

270270
$actions = [
271-
'$schema' => 'https://raw.githubusercontent.com/wp-hooks/generator/0.8.0/schema.json',
271+
'$schema' => 'https://raw.githubusercontent.com/wp-hooks/generator/0.9.0/schema.json',
272272
'hooks' => $actions,
273273
];
274274

@@ -280,7 +280,7 @@ function parse_aliases( string $html ) : array {
280280
} ) );
281281

282282
$filters = [
283-
'$schema' => 'https://raw.githubusercontent.com/wp-hooks/generator/0.8.0/schema.json',
283+
'$schema' => 'https://raw.githubusercontent.com/wp-hooks/generator/0.9.0/schema.json',
284284
'hooks' => $filters,
285285
];
286286

0 commit comments

Comments
 (0)