Skip to content

Add expectHookRemoved and expectHookNotRemoved support #157

@decodekult

Description

@decodekult

WP_Mock provides useful helpers for expectFilterAdded and expectFilterNotAdded, and heir companion for actions. However, we have no canonical way of checking remove_action nor remove_filter calls.

It would be fantastic to extend the current hooks helpers to cover those.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions