Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autocomplete for the callback even if the hook isn't known #27

Open
johnbillion opened this issue Sep 19, 2020 · 0 comments
Open

Add autocomplete for the callback even if the hook isn't known #27

johnbillion opened this issue Sep 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@johnbillion
Copy link
Collaborator

For example, callback autocomplete should work for the following:

add_filter( 'i_dont_exist', |

It should provide a generic callback signature, something like:

function filter_i_dont_exist( $value ) {
    |
    return $value;
}
@johnbillion johnbillion added the enhancement New feature or request label Sep 19, 2020
@johnbillion johnbillion changed the title Add autocomplete for the callback even if the hook isn't a known one Add autocomplete for the callback even if the hook isn't known Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant