Support » Plugin: Ad Inserter - Ad Manager & AdSense Ads » PHP function/hook to get ad blocks that would render on the active page

  • Resolved Akshay Raje

    (@akshay_raje)


    Is there some sort of a PHP function/hook to get a list of all ad blocks that would render on the active page based on the auto-insertion rules of each block.

    The context is that we need to have some conditional Javascript on the pages which only refers to active ad blocks on the page and the above mentioned PHP function/hook would help in this case.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP function/hook to get ad blocks that would render on the active page’ is closed to new replies.