Filter: jsps_render_api_link

Gets a populated Share API URL from the $infos['api'] row link. It replaces %%title%%, %%excerpt%% and %%url%% with the corresponding values to be shared by the network. Mostly used for a Custom Network declared.

Parameters:

Name Type Description
$url string The URL Generated by a preg_replace()
$infos array The array of information needed to generate the URL.

Properties

Name Type Description
$infos['title'] string The title of the post, text to be shared.
$infos['desc'] string The excerpt to be share as longtext (if available)
$infos['url'] string The post URL to be shared.
$infos['api'] string The raw URL including the %%VAR%%s
Since:
  • 2.0.0 First version
Author:
Source:

Returns:

The URL being put into the href attribute of a button.
Type
string