//link-generator.php 34行
<span class="copy-trigger">Share your Instagram,Facebook,VK,Blog...</span>
<!--?php $go_link = 'http://XXXXX?url='.$referral_link; $gg_link = file_get_contents($go_link); ?-->
<!--?php echo sprintf( __( 'Your referral URL is: <strong class="copy-target">%s</strong>', 'yith-woocommerce-affiliates' ), $gg_link ) ?-->
<!--?php echo sprintf( '<small>%s <span class="copy-trigger">%s</span> %s</small>', __( '(Now', 'yith-woocommerce-affiliates' ), __( 'copy', 'yith-woocommerce-affiliates' ), __( 'this referral link and share it anywhere)', 'yith-woocommerce-affiliates' ) ) ?-->
<h3>OR</h3>
修改路径
/wp-content/plugins/yith-woocommerce-affiliates-premium/templates/shortcodes/
Goo.gl部分
使用php composer
https://packagist.org/packages/dominikveils/goo-gl
api 申请
https://developers.google.com/url-shortener/v1/getting_started
为什么站一定要加Aff呢?思考题