apply_filters ( 'jetpack_sharing_headline_html', string $sharing_headline, string $global[’sharing_label’], string $sharing )

Filter the sharing buttons' headline structure.

Source file: modules/sharedaddy/sharing-service.php

View in GitHub



(string) Sharing headline structure.


(string) Sharing title.


(string) Module name.


Since: Jetpack 4.4.0


You can use this filter to customize the HTML structure of the Sharing buttons headline. In the example below, we’ll change the Sharing buttons’ headline structure to use h1 instead of the default h3:

function jetpackcom_custom_heading( $headline, $label, $module ) {
        if ( 'sharing' == $module ) {
                $headline = sprintf(
        return $headline;
add_filter( 'jetpack_sharing_headline_html', 'jetpackcom_custom_heading', 10, 3 );


Have a note to contribute?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s