all(); $swpb_types = SWPB_Destinations::types(); $swpb_editing = $swpb_view['edit_id'] !== '' ? $swpb_store->get($swpb_view['edit_id']) : null; $swpb_form_type = $swpb_editing ? (string)$swpb_editing['type'] : $swpb_view['add_type']; $swpb_form_class = $swpb_form_type !== '' ? SWPB_Destinations::class_for($swpb_form_type) : null; $swpb_redirect_uri = SWPB_Storage_OAuth::redirect_uri(); ?>