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

Only default priority 10 is supported for un-hooking #30

Open
carlomanf opened this issue Apr 3, 2020 · 0 comments
Open

Only default priority 10 is supported for un-hooking #30

carlomanf opened this issue Apr 3, 2020 · 0 comments

Comments

@carlomanf
Copy link

As far as I know, only functions at default priority 10 can be unhooked by this plugin. Any functions at other priority numbers are thus not included in the unhook list.

For example, genesis_do_post_image can't be unhooked from genesis_before_entry_content, and genesis_do_author_box_single can't be unhooked from genesis_after_entry because they are at priority 8.

The suggested code to solve this issue is at #21. I submitted this code 5 years ago and haven't been using this plugin since, so I don't know whether this code is still the best way to implement the feature, but hopefully it helps to illustrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant