i4w_nonce_field
Usage
This shortcode enables you to embed a WordPress nonce field in your page or post content.
[ELSE_nonce_field] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
| action | The name of an action to be used to verify the posted form's integrity. | -1 | No |
| name | The hidden field name to be generated for your form. | _wpnonce | No |
| referrer | Include the referrer in the integrity check. | False | No |
Example
Shortcode
[i4w_nonce_field]
Shortcode
[i4w_nonce_field action='myaction']
Notes
info
Please refer to the WordPress documentation on wp_nonce_field for more details.