DOC Updated incorrect list of available options in Requirements_Backend::customScript

This commit is contained in:
Finlay Metcalfe 2023-11-23 10:14:30 +13:00
parent 60d49562b9
commit 33569f2dc2
1 changed files with 2 additions and 2 deletions

View File

@ -491,8 +491,8 @@ class Requirements_Backend
* @param string $script The script content as a string (without enclosing `<script>` tag)
* @param string $uniquenessID A unique ID that ensures a piece of code is only added once
* @param array $options List of options. Available options include:
* - 'provides' : List of scripts files included in this file
* - 'async' : Boolean value to set async attribute to script tag
* - 'type' : Specifies the type of script
* - 'crossorigin' : Cross-origin policy for the resource
*/
public function customScript($script, $uniquenessID = null, $options = [])
{