Last active
May 24, 2020 12:00
-
-
Save jchristopher/01280df34a72b57263f867805423d251 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$source = \SearchWP\Utils::get_post_type_source_name( 'post' ); | |
$mod = new \SearchWP\Mod( $source ); | |
$mod->set_where( [ [ | |
'column' => 'id', | |
'value' => [ 145, 211 ], | |
'compare' => 'NOT IN', | |
'type' => 'NUMERIC', | |
] ] ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment