Browse: Home / Classes / LearnDash_Settings_Section /

LearnDash_Settings_Section::show_settings_section_nonce_field

LearnDash_Settings_Section::show_settings_section_nonce_field( bool $referer = true,  bool $echo = true )

Output Settings Section nonce field.


Description #


Parameters #

$referer

(bool) (Optional) (Optional) Whether to set the referer field for validation. Default value: true @since 3.6.0.

Default value: true

$echo

(bool) (Optional) (Optional) Whether to display or return hidden form field. Default value: true @since 3.6.0.

Default value: true


Source #

File: includes/settings/class-ld-settings-sections.php


Changelog #

Changelog
Version Description
3.6.0 Added $referer and $echo params.
3.0.0 Introduced. Initial release.