gform_disable_auto_update

gform_disable_auto_update

DescriptionUsageParametersExampleSource Code

Description
The 「gform_disable_auto_update」 filter allows automatic updates to be turned off in Gravity Forms.
Usage
1add_filter( 'gform_disable_auto_update', __return_true );

Parameters

$disabled bool
Set to 『true』 to disable automatic updates. False to enable them. Defaults to the inverse of the gform_enable_background_updates option.

Example
1add_filter( 'gform_disable_auto_update', __return_true );
Source Code
This action hook is located in gravityforms.php

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註