Created
July 19, 2018 03:02
-
-
Save elvismdev/05cf9759c21bdf70aec9c5b76e3eadec to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| add_filter( 'facetwp_query_args', function( $query_args, $class ) { | |
| $query_args['post__not_in'] = [ 239 ]; | |
| return $query_args; | |
| }, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment