Skip to content

Commit

Permalink
More meta changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Nov 28, 2019
1 parent 3cd83be commit 2adb1b4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
Binary file modified images/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/screenshot-3.png
Binary file not shown.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"type": "git",
"url": "https://github.com/johnbillion/vscode-wordpress-hooks.git"
},
"bugs": {
"url": "https://github.com/johnbillion/vscode-wordpress-hooks/issues"
},
"activationEvents": [
"*"
],
Expand Down
10 changes: 8 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ Start typing the name of a WordPress action or filter within `add_action()` or `

[![Screenshot](images/screenshot-1.png)](images/screenshot-1.png)

Autocomplete is also provided for the callback function, to save you keystrokes:
Autocomplete is also provided for the callback function and other built-in callbacks to save you keystrokes:

[![Screenshot](images/screenshot-2.png)](images/screenshot-2.png)

[![Screenshot](images/screenshot-3.png)](images/screenshot-3.png)
An autocompleted closure callback looks like this:

```php
add_filter( 'template_directory', function( $template_dir, $template, $theme_root ) {
|
}, 10, 3 );
```

## License

Expand Down

0 comments on commit 2adb1b4

Please sign in to comment.