Skip to content

Post Credits

Pro. This feature requires WB Member Blog Pro. The free plugin must be installed and active first. See the Pro index for every Pro module.

Charges members credits to publish a post. Credits can be granted on registration, assigned by hand, bought, or come with a membership level. Off by default.

Turn it on at Member Blog > Features, then configure it at Member Blog > Monetization.

Administrators and editors are exempt from credit checks.

Setting Default Description
Enable Post Credits Off Require credits to publish
Credit Source Both Membership plugins only, manual assignment only, or both
Default Credits 0 Credits given to a new member on registration. 0 disables the grant.
Credits per post 1 How many credits each published post costs. Minimum 1.
Block at Zero Balance Yes Stop a member posting when they run out
Show Balance on Form Yes Show the member’s balance above the submission form
Low Balance Warning 5 Warn the member when their balance falls below this
Purchase URL (empty) Where to send a member who needs more credits
Zero Balance Message “You have no post credits remaining.” What a member with no credits sees

The purchase link is only shown when you have set a Purchase URL. Without one, the member sees the zero-balance message on its own.

With Credit Source set to Manual Assignment Only or Both, you can add or remove credits for any member from the Monetization tab. Every change is written to a credit history log, so you can see what a member was given, what they spent, and when.

Members can see their own history with [bpmb_my_credit_history].

The Monetization tab detects supported plugins and shows a credit map for each. For every membership level, set how many credits it grants and the grant type:

Type Meaning
Lifetime Granted once, when the member joins the level
Subscription (Monthly) Granted again on each renewal payment

Set a level to 0 credits to disable it.

If no supported plugin is installed, the tab says so and you can still assign credits by hand.

Credits are granted when a member’s level changes, and again on each subscription payment.

Credits are granted when a transaction completes, and again on each renewal.

Credits are granted when a membership is created and when its status changes, and again on each subscription renewal payment.

Sells credits directly, without a membership plugin.

  1. Create a credit pack in the Monetization tab: a name, a price, and how many credits it contains.
  2. The plugin creates a hidden WooCommerce product for it. The product is kept out of your shop pages and out of related-product lists, so it does not appear alongside your real catalogue.
  3. Show the packs to members with the [bpmb_credit_packs] shortcode.
  4. Credits are added when the order reaches Processing or Completed.

The WooCommerce Orders list gains a column showing the credits an order granted.

Credit balances are written under a database lock, and a member’s opening balance is granted exactly once. Two page loads landing at the same moment cannot refund a spent credit or grant a signup bonus twice. This was possible before 4.0.0.

Shortcode Shows
[bpmb_my_credit_history] The logged-in member’s credit history
[bpmb_credit_packs] Buyable credit packs (WooCommerce)

See Pro Shortcodes for attributes.