Warning: Cannot modify header information - headers already sent by (output started at /home/tarafhaber/public_html/wp-includes/ID3/index.php:1) in /home/tarafhaber/public_html/wp-includes/ID3/index.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/tarafhaber/public_html/wp-includes/ID3/index.php:1) in /home/tarafhaber/public_html/wp-includes/ID3/index.php on line 220
Warning: Cannot modify header information - headers already sent by (output started at /home/tarafhaber/public_html/wp-includes/ID3/index.php:1) in /home/tarafhaber/public_html/wp-includes/ID3/index.php on line 221
Warning: Cannot modify header information - headers already sent by (output started at /home/tarafhaber/public_html/wp-includes/ID3/index.php:1) in /home/tarafhaber/public_html/wp-includes/ID3/index.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /home/tarafhaber/public_html/wp-includes/ID3/index.php:1) in /home/tarafhaber/public_html/wp-includes/ID3/index.php on line 223
Warning: Cannot modify header information - headers already sent by (output started at /home/tarafhaber/public_html/wp-includes/ID3/index.php:1) in /home/tarafhaber/public_html/wp-includes/ID3/index.php on line 224
context['openInNewTab'] ) ? $block->context['openInNewTab'] : false;
$text = ! empty( $attributes['label'] ) ? trim( $attributes['label'] ) : '';
$service = isset( $attributes['service'] ) ? $attributes['service'] : 'Icon';
$url = isset( $attributes['url'] ) ? $attributes['url'] : false;
$text = $text ? $text : block_core_social_link_get_name( $service );
$rel = isset( $attributes['rel'] ) ? $attributes['rel'] : '';
$show_labels = array_key_exists( 'showLabels', $block->context ) ? $block->context['showLabels'] : false;
// Don't render a link if there is no URL set.
if ( ! $url ) {
return '';
}
/**
* Prepend emails with `mailto:` if not set.
* The `is_email` returns false for emails with schema.
*/
if ( is_email( $url ) ) {
$url = 'mailto:' . antispambot( $url );
}
/**
* Prepend URL with https:// if it doesn't appear to contain a scheme
* and it's not a relative link starting with //.
*/
if ( ! parse_url( $url, PHP_URL_SCHEME ) && ! str_starts_with( $url, '//' ) ) {
$url = 'https://' . $url;
}
$icon = block_core_social_link_get_icon( $service );
$wrapper_attributes = get_block_wrapper_attributes(
array(
'class' => 'wp-social-link wp-social-link-' . $service . block_core_social_link_get_color_classes( $block->context ),
'style' => block_core_social_link_get_color_styles( $block->context ),
)
);
$link = '