Skip to content

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

Open
@carlomanf

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions