Wp.InterestEventHook¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Wp.InterestEventHook(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
An event hook that declares interest in specific events. This subclass implements the
Wp.EventHook.do_runs_for_event
() vmethod and returnsTrue
from that method if the given event has properties that match one of the declared interests.- add_interest_full(interest)¶
- Parameters:
interest (
Wp.ObjectInterest
) –