apply_filters( 'jsps_share_api_data', $data, $post ) → {array}
Data given to the browser Share API (
navigator.share()) by the Share API button.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
$data |
array |
The data shared.
Properties
|
||||||||||||
$post |
object | The WP Post object (or null). |
- Since:
- 2.4.0 First version
- Source:
Returns:
The data shared.
- Type
- array