Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericakfranz/fc69000c39879189568b to your computer and use it in GitHub Desktop.
Save ericakfranz/fc69000c39879189568b to your computer and use it in GitHub Desktop.
Increase the post query limit for the Output tab setting by uploading this file as a plugin.
<?php
/**
* Plugin Name: OptinMonster Query Limit
* Description: Increases the default query limit for page-level targeting.
* Version: 1.0.0
*/
add_filter( 'optin_monster_post_selection_limit', 'tgm_om_post_selection_limit' );
function tgm_om_post_selection_limit( $limit ) {
return 9999;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment