Skip to content

Commit

Permalink
WordPress 6.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Nov 9, 2022
1 parent 63ab4be commit fa6f7a7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@
"webpack-cli": "^3.3.12"
},
"dependencies": {
"@johnbillion/wp-hooks": "^1.0.0"
"@wp-hooks/wordpress-core": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This extension provides intellisense and autocomplete for WordPress hooks, actions, and filters.

* Autocomplete for action and filter names
- Supports all actions and filters up to WordPress 6.0
- Supports all actions and filters up to WordPress 6.1
* Autocomplete for action and filter callback functions
- Supports functions, class methods, closures, arrow functions, and more
- The parameter types, return type, and a docblock are included where appropriate
Expand Down
6 changes: 3 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as vscode from 'vscode';
import { hooks as actions } from '@johnbillion/wp-hooks/hooks/actions.json';
import { hooks as filters } from '@johnbillion/wp-hooks/hooks/filters.json';
import { Hook, Tag } from '@johnbillion/wp-hooks/interface';
import { hooks as actions } from '@wp-hooks/wordpress-core/hooks/actions.json';
import { hooks as filters } from '@wp-hooks/wordpress-core/hooks/filters.json';
import { Hook, Tag } from '@wp-hooks/wordpress-core/interface';
import * as meta from '../package.json';

function getHookCompletion(
Expand Down

0 comments on commit fa6f7a7

Please sign in to comment.