gform_settings_save_button

gform_settings_save_button

DescriptionUsageParametersPlacementSource Code

Description

Filters through and allows modification of the Save button HTML for the overall Gravity Forms Settings.

Usage

sprintf( '',
esc_html( rgar( $save_props, 'value' ) ),
esc_attr( $save_props['class'] ),
! $this->is_dependency_met( rgar( $save_props, 'dependency' ) ) ? 'style="display:none;"' : ''
);

Parameters

$save_button stringThe HTML rendered for the Save button.

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

This filter is located in GFSettings::page_header() in settings.php.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注