function ghq_auto_button_shortcode($atts) { $atts = shortcode_atts(array( 'asin' => '', 'text' => '๐Ÿ‘‰ Check Price on Amazon', ), $atts);$affiliate_tag = 'gamesherehq00-20';if (empty($atts['asin'])) { return ''; }$url = 'https://www.amazon.com/dp/' . esc_attr($atts['asin']) . '/?tag=' . $affiliate_tag;return ' ' . esc_html($atts['text']) . ' '; }add_shortcode('ghq_button', 'ghq_auto_button_shortcode');
Best PS5 wireless gaming headset with noise-canceling mic
en_USEnglish
Powered by TranslatePress

As an Amazon Associate, GamesHereHQ earns from qualifying purchases.

function ghq_price_box_shortcode($atts) { $atts = shortcode_atts(array( 'asin' => '', 'btn_text' => 'Check Price on Amazon' ), $atts);$asin = esc_attr($atts['asin']); $btn_text = esc_html($atts['btn_text']); $affiliate_id = 'Gamesherehq-20'; $link = "https://www.amazon.com/dp/$asin?tag=$affiliate_id"; return '
'; add_shortcode('ghq_price_box', 'ghq_price_box_shortcode');
Verified by MonsterInsights