Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remove all Optins from WordPress posts
$( document ).ready(function() {
$( document ).on("OptinMonsterBeforeShow", function(a, b, c) {
// Remove all optins whose ID begins with 'om-'
$( "[id^='om-']" ).remove();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.