For developers who need to customize the plan options at checkout, the Payment Plans Add On offers three filter hooks. Use them to remove the level’s own pricing from the list of options, change the text shown for each plan, or change the markup of each plan’s radio button.

Filters

pmpropp_include_level_pricing_option_at_checkout

Determines whether the level’s own pricing is offered as an option in the Select a Payment Plan box at checkout. Return false to show only your payment plans. Use the level ID to do this for some levels and not others.

If you remove the level’s own pricing, set one of the level’s plans as the default payment plan. Otherwise no option is selected when checkout loads, and a member who submits without choosing a plan checks out at the level’s own pricing.

apply_filters( 'pmpropp_include_level_pricing_option_at_checkout', bool $include_level_price, int $level_id );

Parameters

  • $include_level_price: bool; Whether to include the level’s own pricing as an option. Default true.
  • $level_id: int; The ID of the membership level at checkout.

pmpropp_plan_cost_text_checkout

Filters the text shown next to each option in the Select a Payment Plan box. By default, the text is the plan name, a hyphen, and the plan’s cost and expiration text, such as “Annual – $190.00 per Year.” The returned text is sanitized with pmpro_kses(), so basic HTML is allowed.

apply_filters( 'pmpropp_plan_cost_text_checkout', string $plan_name_raw, object $plan );

Parameters

  • $plan_name_raw: string; The plan name followed by its cost and expiration text.
  • $plan: object; The payment plan, or the level itself for the level’s own pricing option. Includes properties such as id, name, initial_payment, billing_amount, cycle_number, and cycle_period.

pmpropp_plan_html_template

Filters the full HTML for each option in the Select a Payment Plan box, including the radio input and its label. Keep the input’s name (pmpropp_chosen_plan), value, and id attributes, since the checkout script and the checkout submission rely on them.

apply_filters( 'pmpropp_plan_html_template', string $html, object $plan, int $level_id );

Parameters

  • $html: string; The HTML for the plan option.
  • $plan: object; The payment plan, or the level itself for the level’s own pricing option.
  • $level_id: int; The ID of the membership level at checkout.

Last updated on November 19, 2026


Was this article helpful?
YesNo