Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Notes::maybe_add_nonce_to_url( string $url, string $action = '', string $name = '' )
Maybe add a nonce to a URL.
Description Description
Parameters Parameters
- $url
-
(Required) The URL needing a nonce.
- $action
-
(Optional) The nonce action.
Default value: ''
- $name
-
(Optional) The nonce anme.
Default value: ''
Return Return
(string) A fully formed URL.
Source Source
File: packages/woocommerce-admin/src/API/Notes.php