Filter: jsps_pinterest_pinmarklet_url

apply_filters( 'jsps_pinterest_pinmarklet_url', $url ) → {string}
URL of the Pinterest "pick an image" script, used when the post has no featured image or when image sniffing is forced. The javascript: link used before 2.4.0 was removed by esc_url(), making the button useless.

Parameters:

Name Type Default Description
$url string https://assets.pinterest.com/js/pinmarklet.js The script URL (https only). Return an empty string to only use the Pinterest page.
Since:
  • 2.4.0 First version
Author:
Source:

Returns:

The script URL.
Type
string