gplc_completed_payments_only

  1. Description
  2. Usage
  3. Parameters
  4. Source

Description

Indicate whether all submissions for a field should be counted against the limit or only submissions with an approved payment.

Usage

Apply to all forms.

Could not fetch snippet.

Apply to specific form.

Could not fetch snippet.

Parameters

  • $enable_completed_payments_only (boolean)

    Set this to true to only count submissions with completed payments towards the choice limit. Defaults to false.

Source

This filter is located in GP_Limit_Choices::get_choice_counts() in class-gp-limit-choices.php.