post_grid_filter_query_args

You can add more query arguments by filter hook that’s supported by WP_Query function post_grid_filter_query_args_extra($query_args){ $current_post_id = get_the_ID(); $extra_query = array ( ‘post__not_in’ => array($current_post_id), ); return array_merge($query_args, $extra_query); } add_filter(‘post_grid_filter_query_args’,’post_grid_filter_query_args_extra’); This filter hook will affect all of your post grid created on your site.   Filter different grid query arguments, (Only available in premium … Continue reading post_grid_filter_query_args