w3tc_deferscripts_is_embed_script
w3tc_deferscripts_is_embed_script
Appears in: w3-total-cache.2.5.0, w3-total-cache.2.6.0, w3-total-cache.2.6.1, w3-total-cache.2.7.0, w3-total-cache.2.7.2, w3-total-cache.2.7.5, w3-total-cache.2.7.7, w3-total-cache.2.8.0, w3-total-cache.2.8.2
Hook Type: filter
Displaying hooks found in version: w3-total-cache.2.8.2apply_filters('w3tc_deferscripts_is_embed_script') is found 1 times:
- /UserExperience_DeferScripts_Extension.php line 118114115116117118119120121122123124
// embed lazyload script.
if
(
$this
->mutator->content_modified() ) {
$buffer
= apply_filters(
'w3tc_deferscripts_embed_script'
,
$buffer
);
$is_embed_script
= apply_filters(
'w3tc_deferscripts_is_embed_script'
, true );
if
(
$is_embed_script
) {
$buffer
=
$this
->embed_script(
$buffer
);
}
}
return
$buffer
;