gpnf_bypass_entry_permissions

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

Description

Bypass entry permissions when populating entries into a Nested Form field.

Usage

Apply to all fields on all forms.

add_filter( 'gpnf_bypass_entry_permissions', '__return_true' );

Apply to all fields on a specific form.

add_filter( 'gpnf_bypass_entry_permissions_FORMID', '__return_true' );

Apply to a specific field on a specific form.

add_filter( 'gpnf_bypass_entry_permissions_FORMID_FIELDID', '__return_true' );

Parameters

  • bypass_permissions bool

    Should entry permissions be bypassed?

  • form array

    Current form object.

  • field object

    Current field object.

Since

This filter is available since GP Nested Forms 1.0.