diff --git a/user_guide_src/source/helpers/html_helper.rst b/user_guide_src/source/helpers/html_helper.rst index b16bba0eb933..aa579307eba9 100644 --- a/user_guide_src/source/helpers/html_helper.rst +++ b/user_guide_src/source/helpers/html_helper.rst @@ -326,11 +326,12 @@ The following functions are available: .. literalinclude:: html_helper/018.php -.. php:function:: track($name = ''[, $type = false[, $attributes = '']]) +.. php:function:: track($src, $kind, $srcLanguage, $label) - :param string $name: The name of the parameter - :param string $value: The value of the parameter - :param array $attributes: HTML attributes + :param string $src: The path of the track (.vtt file) + :param string $kind: The kind of timed track + :param string $srcLanguage: The language of the timed track + :param string $label: A user-readable title for the timed track :returns: An HTML track element :rtype: string