Purchase Activity
When an EDD order is completed, PeepSo EDD can publish a post in the PeepSo activity stream on the buyer’s behalf, for example “Theo purchased Photo Pack”, with a product card underneath.
When a post is created
Section titled “When a post is created”Purchase posts are created while Post purchases to the activity stream is on in PeepSo > Configuration > EDD (on by default). A post is created when EDD marks an order as completed, and only if all of these are true:
- The order is a sale and belongs to a registered member. Guest orders never post, because a guest has no PeepSo profile to post from.
- No purchase post has been created for this order before. Each order posts once at most, even if it is completed again later.
- The member shares purchases. This is the member’s own switch under Profile > Preferences, or the owner’s default when the member has not chosen yet. See Member preferences.
- The order is not a renewal. EDD Recurring Payments renewal payments and EDD Software Licensing renewals never post, because they are not new purchases.
Pending, failed and abandoned orders never post. An order that starts as pending posts when it becomes completed.
It does not matter how the order reaches completed: at checkout, by an admin in wp-admin, or by a payment gateway notification or scheduled task with nobody logged in. The post is always published as the buyer. The one exception is WP-CLI: PeepSo does not load under WP-CLI, so an order completed with a wp command does not post.
Post visibility
Section titled “Post visibility”The post uses the visibility chosen in Post visibility (Public by default). The options are PeepSo’s own privacy levels.
Post text
Section titled “Post text”The text comes from the Post text setting. The default is:
{user_name} purchased {product_list}| Placeholder | Replaced with |
|---|---|
{user_name} |
The buyer’s name, linked to their PeepSo profile. |
{product_list} |
The products in the order, comma separated, each linked to its product page. |
{order_total} |
The order total with the order’s currency. |
{order_date} |
The order date, in your site’s date format. |
Other text in curly braces is left as written. The text is filled in once, when the post is created, so changing the setting later does not change older posts. Developers can change the final text with the wbpeddi_make_edd_purchase_activity_message filter; see Hooks and filters.
Product card
Section titled “Product card”When Show a product card under the post is on (default), each product in the order is shown under the post as a card with its image, its name and a View product link.
The card is built from the order each time the post is shown:
- Turning the setting off hides the card on all purchase posts, including older ones. Turning it back on shows it again.
- Cards keep showing on existing posts even if new purchase posts are turned off.
- If the order is deleted, the post stays but its card is no longer shown.
- Purchase posts created by 1.x keep their card.

