• Resolved mkounti

    (@mkounti)


    hello i want to grap the the ad before it renders

    for example

    div class="quads-location quads-ad8" id="quads-ad8" style="float:none;margin:0px;">
    
     <!-- WP QUADS - Quick AdSense Reloaded v.2.0.30 Content AdSense async --> 
    
                <ins class="adsbygoogle"
                      style="display:block;"
                              data-ad-format="auto"
                     data-ad-client="ca-pub-2005682797531342"
                     data-ad-slot="7046626912"></ins>
                     <script>
                     (adsbygoogle = window.adsbygoogle || []).push({});</script>
     <!-- end WP QUADS --> 
    
    </div>
    
    what the final  function or hook that render it 
    i managed to find a hook called 
    

    add_filter(‘quads_render_ad’, ‘content_callback’);

    but its only showing the inside content of
    div class=”quads-location quads-ad8″
    i want the full dev to get the ad id and do some checks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘i need to grap the ad before it renders’ is closed to new replies.