apply_filters ( 'jetpack_social_media_icons_widget_profile_link', string $url, string $service )

Fires for each profile link in the social icons widget. Can be used to change the links for certain social networks if needed. All URLs will be passed through `esc_attr` on output.

Source file: modules/widgets/social-media-icons.php

View in GitHub

Parameters

$url

(string) the currently processed URL

$service

(string) the lowercase service slug, e.g. ’facebook’, ’youtube’, etc.


Changelog

Since: Jetpack 3.8.0


Have a question about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us