Do not Show Images and Code Snippets when Adblocker Enabled – WordPress Plugin Tutorial

By | July 16, 2019

As tutorial writers, we do not want users who have enable adblockers to view our example code snippets and images. We desinged a wordpress plugin to do it. In this tutorial, we will introduce this wordpress plugin, if anyone want to get it. please contact us.

The idea of this plugin

Firstly, detect an adblocker is enabled or not.

Sencondly, block the display of codes and images if adblocker is enabled.

The effect of this plugin

Do not show example code snippets.

disable adblocker to show code snippets

Do not show images in tutorial.

disable adblocker to show images

Leave a Reply