jetpack_likes_iframe_src
jetpack_likes_iframe_src
Hook Type: filter
Displaying hooks found in version: jetpack.14.5apply_filters('jetpack_likes_iframe_src') is found 2 times:
- /modules/likes/jetpack-likes-master-iframe.php line 413738394041424344454647
* @since 14.1
*
* @param string URL to https:
//widgets.wp.com/ with various arguments appended to the get string and fragment.
*/
$src
= apply_filters(
'jetpack_likes_iframe_src'
,
$src
);
// The span content is replaced by queuehandler when showOtherGravatars is called.
$likers_text
= wp_kses(
'<span>%d</span>'
,
array
(
'span'
=>
array
() ) );
?>
<iframe src=
'<?php echo esc_url( $src ); ?>'
scrolling=
'no'
id=
'likes-master'
name=
'likes-master'
style=
'display:none;'
></iframe>
<div id=
'likes-other-gravatars'
role=
"dialog"
aria-hidden=
"true"
tabindex=
"-1"
><div
class
=
"likes-text"
><?php
echo
$likers_text
;
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></div><ul class="wpl-avatars sd-like-gravatars"></ul></div>
- /modules/likes.php line 448445446447448449450451452453454
$title
= esc_html__(
'Like or Reblog'
,
'jetpack'
);
/** This filter is documented in modules/likes/jetpack-likes-master-iframe.php */
$src
= apply_filters(
'jetpack_likes_iframe_src'
,
$src
);
$html
=
"<div class='sharedaddy sd-block sd-like jetpack-likes-widget-wrapper jetpack-likes-widget-unloaded' id='$wrapper' data-src='$src' data-name='$name' data-title='$title'>"
;
$html
.=
$headline
;
$html
.=
"<div class='likes-widget-placeholder post-likes-widget-placeholder' style='height: 55px;'><span class='button'><span>"
. esc_html__(
'Like'
,
'jetpack'
) .
'</span></span> <span class="loading">'
. esc_html__(
'Loading...'
,
'jetpack'
) .
'</span></div>'
;
$html
.=
"<span class='sd-text-color'></span><a class='sd-link-color'></a>"
;
$html
.=
'</div>'
;