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.


Top ↑

Return Return

(string) The updated HTML tag.

Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.