APP_Recaptcha::defer_scripts( string $tag, string $handle )
Updates the <script>
tag to use ‘defer’ and ‘async’ properties.
Package
Description Description
Note: the ‘script_loader_tag’ was only introduced in WP 4.1.
Parameters Parameters
- $tag
(string) (Required) The HTML tag.
- $handle
(string) (Required) The script handle name.
Return Return
(string) The updated HTML tag.