apply_filters ( 'jetpack_sharing_pinterest_widget_type', string $type )

Filters the Pinterest widget type.

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

View in GitHub



(string) Pinterest widget type. Default of ’buttonPin’ for single-image selection. ’buttonBookmark’ for multi-image modal.


Since: Jetpack 3.6.0


You can use this filter to change from the default—a single image Pinterest pin—to the multi-image picker:

function bk_jetpack_pinterest_widget( $widget ){
    return 'buttonBookmark';
add_filter( 'jetpack_sharing_pinterest_widget_type', 'bk_jetpack_pinterest_widget' );

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