base && static::get_post_type() === $screen->post_type; $is_event_plugins_settings_page = in_array( $screen->id, static::get_settings_pages(), true ); return $is_event_plugins_edit_page || $is_event_plugins_settings_page; } /** * Returns the Activitypub transformer for the event plugins event post type. */ public static function get_activitypub_event_transformer_class(): string { return str_replace( 'Plugins', 'Activitypub\Transformer', static::class ); } }