jetpack_og_get_social_image_token
jetpack_og_get_social_image_token
Appears in: jetpack.14.9.1, jetpack.15.0
Hook Type: filter
Displaying hooks found in version: jetpack.15.0apply_filters('jetpack_og_get_social_image_token') is found 1 times:
- /functions.opengraph.php line 622
* @since 14.9 * * @param string|WP_Error|null $token The token to return, or null to use default behavior. */ $token = apply_filters( 'jetpack_og_get_social_image_token', null ); if ( null !== $token ) { return $token; } if ( ! function_exists( '\Automattic\Jetpack\Publicize\Social_Image_Generator\fetch_token' ) ) { return new WP_Error( 'jetpack_og_get_social_image_token_error', __( 'Social Image Generator is not available.', 'jetpack' ) );