apply_filters( 'jsps_render_api_link', $url, $infos ) → {string}
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
|
- Since:
- 2.0.0 First version
- Source:
Returns:
The URL being put into the
href attribute of a button.
- Type
- string