Filters the Pinterest widget type.
Parameters
- $type
string Pinterest widget type. Default of 'buttonPin' for single-image selection. 'buttonBookmark' for multi-image modal.
Changelog
- Introduced in Jetpack 3.6.0
How to use this hook
Notes
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' );