It is supposed to return true always except when the visiting IP is blocked.
Apparently it was a cache problem that did not make the plugin work well. Thank you
i use this code,
if ( aicp_can_see_ads() )
echo ‘<div class=”aicp”>
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– anu –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-6383921691455583″
data-ad-slot=”5249506802″
data-ad-format=”auto”
data-full-width-responsive=”true”>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div> ‘;
problem is – ads are show but in above ad this line show if( aicp_can_see_ads() )
echo ‘
can u please tell me how i fix and plugin working or not
Are you using Ad Inserter plugin to show the ads? If so, enable the PHP toggle in the ad-block. It is already shown in the video you will find in the plugin description.
sure php enable and i see video also,but not understand ,according to u code is ok,if ok then where is problem.
Hi @amit2030,
Can you share the screenshot of the adblock instead of pasting the code here?