gpasc_disable_sharing_drafts

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

Description

Allows you to disable sharing drafts for a given form or globally for all forms.

Usage

Filter whether all forms should disable sharing drafts.

add_filter( 'gpasc_disable_sharing_drafts', '__return_true' );

Filter whether a specific form should disable sharing drafts.

add_filter( 'gpasc_disable_sharing_drafts_FORMID', '__return_true' );

Parameters

  • disable_sharing_drafts bool

    Whether or not to disable sharing drafts.

  • form array

    The current form.

Since

This filter is available since Gravity Forms Advanced Save & Continue 1.0.25.