Profile Tabs
PeepSo EDD adds up to two navigation tabs to the PeepSo member profile: EDD Checkout and Purchase History. Both are added through the peepso_navigation_profile filter and rendered through PeepSo profile segments.
Visibility rules
Section titled “Visibility rules”Both tabs follow the same rules:
- The viewer must be logged in.
- On a PeepSo profile view, the tab is added only when the current user is viewing their own profile. It is not added when viewing another member’s profile.
- The tab is added only when its owner-level toggle is enabled (
wbpeddi_enable_edd-checkout/wbpeddi_enable_edd-purchase-history). - The label defaults to “EDD Checkout” / “Purchase History” but uses the custom label set by the owner when one is provided.
The visibility of each tab can also be overridden programmatically with the wbpeddi_show_tab_on_peepso_profile filter (see Hooks and filters).
EDD Checkout tab
Section titled “EDD Checkout tab”Slug: edd-checkout.
- Renders EDD’s
[download_checkout]shortcode inside a PeepSo profile page wrapper. - The plugin forces EDD’s
edd_is_checkoutcheck to return true on this segment, so EDD enqueues its checkout scripts and styles as it would on the standalone checkout page. - Remove item from cart: the
edd_remove_item_urlfilter and atemplate_redirecthandler rewrite the remove-item link so removing a cart item returns the member to the profile checkout tab instead of the standalone EDD checkout page. - Purchase confirmation: after a successful payment that started from the profile checkout,
edd_success_page_redirectsends the member to anedd-purchase-confirmationsegment on the profile, which renders the receipt via[edd_receipt].
Purchase History tab
Section titled “Purchase History tab”Slug: edd-purchase-history.
- Renders EDD’s
[purchase_history]shortcode inside a PeepSo profile page wrapper. - View receipt: the
edd_get_success_page_urifilter rewrites the “view details” links so an order opens on anedd-purchase-detailssegment on the profile, rendered via[edd_receipt]. - Checkout URI: the
edd_get_checkout_urifilter keeps EDD’s checkout URL pointing at the profile checkout tab so re-entry into a pending payment stays inside the profile. - Pagination: the
paginate_linksfilter rewrites purchase-history pagination so page links stay on the profile Purchase History tab and use apagedquery argument.
Icons and styling
Section titled “Icons and styling”Both tabs use a PeepSo icon class combined with the plugin’s own icon font (assets/css/peepso-woo-icons.css, with an RTL build under assets/css-rtl/). The stylesheet is enqueued on the front end, and a small inline CSS fix is added on PeepSo profile pages so the EDD payment-mode radio inputs stay visible inside the profile wrapper.

