Event type => label for the log's filter. */ public static function event_types(): array; /** * Add the integration's hooks, only when its plugin is active. * * @param bool|null $active Whether the plugin is active; null asks is_active(). Tests pass it. */ public static function register( ?bool $active = null ): void; /** * Post types this integration's plugin keeps its own objects in, logged * as that object rather than as a post. * * @return array */ public static function post_types(): array; /** * Post types the plugin uses internally, never logged as posts. * * @return array */ public static function internal_post_types(): array; }