You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+6-11Lines changed: 6 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,17 @@ Last updated for WordPress 5.5.
8
8
9
9
Start typing the name of a WordPress action or filter within `add_action()` or `add_filter()` and you'll get an autocomplete list of all matching actions or filters, plus information about the parameters and usage:
10
10
11
-
[](images/screenshot-1.png)
11
+
[](images/screenshot-1.png)
12
12
13
13
Autocomplete is also provided for a closure callback function and other built-in callbacks to save you keystrokes:
14
14
15
-
[](images/screenshot-2.png)
15
+
[](images/screenshot-2.png)
16
16
17
17
An autocompleted closure callback looks like this:
[](images/screenshot-3.png)
25
20
26
-
Parameter and return type declarations are provided where appropriate. The behaviour of these can be adjusted in the settings for the extension.
21
+
Parameter type declarations, the return type declaration, and the docblock are included where appropriate. The behaviour of these can be adjusted in the settings for the extension.
27
22
28
23
## FAQ
29
24
@@ -43,13 +38,13 @@ Parameter and return type declarations are provided where appropriate. The behav
43
38
44
39
Place your cursor within the first parameter of one of the supported functions, eg `add_action()` or `add_filter()`, and hit <kbd>ctrl</kbd>+<kbd>space</kbd>. This works with any autocomplete provider, not only this extension.
45
40
46
-
### Can I disable or adjust the type declarations / type hints?
41
+
### Can I disable or adjust the type declarations / type hints / docblock?
47
42
48
43
Yes, open the preferences for VS Code and go to the **Extensions -> Autocomplete WordPress Hooks** section.
49
44
50
45
## License
51
46
52
-
This extension is free and open source software. It's licensed under the GPLv3.
47
+
This extension is free and open source software. It's licensed under the GNU GPL version 3.
0 commit comments