LearnDash_Settings_Section::show_settings_section_nonce_field( bool $referer = true, bool $echo = true )
Output Settings Section nonce field.
Contents
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 #
Changelog #
Version | Description |
---|---|
3.6.0 | Added $referer and $echo params. |
3.0.0 | Introduced. Initial release. |