jetpack_twitter_partner_id, jetpack

jetpack_twitter_partner_id, jetpack

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_twitter_partner_id, jetpack') is found 3 times:

  • /modules/shortcodes/tweet.php line 157
    		 * @since 4.6.0
    		 *
    		 * @param string $partner_id Twitter partner ID.
    		 */
    		$partner = apply_filters( 'jetpack_twitter_partner_id', 'jetpack' );
    
    		// Add Twitter partner ID to track embeds from Jetpack.
    		if ( ! empty( $partner ) ) {
    			$provider = add_query_arg( 'partner', $partner, $provider );
    		}
    
    
  • /modules/shortcodes/twitter-timeline.php line 39

    $output = ‘

  • /modules/widgets/twitter-timeline.php line 157
    			}
    		}
    
    		/** This filter is documented in modules/shortcodes/tweet.php */
    		$partner = apply_filters( 'jetpack_twitter_partner_id', 'jetpack' );
    		if ( ! empty( $partner ) ) {
    			$data_attrs .= ' data-partner="' . esc_attr( $partner ) . '"';
    		}
    
    		/**
    		 * Allow the activation of Do Not Track for the Twitter Timeline Widget.