jetpack_sharing_data_attributes

jetpack_sharing_data_attributes

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.14.5

apply_filters('jetpack_sharing_data_attributes') is found 2 times:

  • /extensions/blocks/sharing-button/class-sharing-source-block.php line 292
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    * @param Sharing_Source $this Sharing source instance.
     * @param string|false $id Sharing ID.
     * @param array $args Array of sharing service options.
     */
    $data_attributes = apply_filters( 'jetpack_sharing_data_attributes', (array) $data_attributes, $this, $id, $args );
     
    $encoded_data_attributes = '';
    if ( ! empty( $data_attributes ) ) {
        $encoded_data_attributes = implode(
            ' ',
            array_map(
  • /modules/sharedaddy/sharing-sources.php line 352
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    * @param Sharing_Source $this Sharing source instance.
     * @param string|false $id Sharing ID.
     * @param array $args Array of sharing service options.
     */
    $data_attributes = apply_filters( 'jetpack_sharing_data_attributes', (array) $data_attributes, $this, $id, $args );
     
    $encoded_data_attributes = '';
    if ( ! empty( $data_attributes ) ) {
        $encoded_data_attributes = implode(
            ' ',
            array_map(