apply_filters( 'juiz_sps_the_shared_permalink', $url, $is_current_page_url, $url_to_share ) → {string}
Sets the URL to be shared on all the networks activated.
Another hook arrives later for each specific network called juiz_sps_the_shared_permalink_for_* where * is the network Slug.
Parameters:
Name | Type | Description |
---|---|---|
$url |
string | The shared URL. |
$is_current_page_url |
int | Is the current page or custom to share? |
$url_to_share |
string |
permalink | siteurl | <custom_url>
|
- Since:
- 1.0.0 First version
- Source:
Returns:
The URL to be shared. You don't need to sanitize or urlencode it, it'll be done later in the process.
- Type
- string