jetpack_sharing_data_attributes

jetpack_sharing_data_attributes

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.14.0

apply_filters('jetpack_sharing_data_attributes') is found 2 times:

  • /extensions/blocks/sharing-button/class-sharing-source-block.php line 292
    		 * @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
    		 * @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(