Skip to content

Commit 5bc1b3a

Browse files
committed
Restore missing filter
1 parent fff0654 commit 5bc1b3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RandomPostOnRefresh.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ public static function build_query_args( $atts ) {
274274
// Never load the current post.
275275
$query_args['post__not_in'][] = get_the_ID();
276276

277+
$query_args = apply_filters( 'random_post_on_refresh_query_args', $query_args, $atts );
278+
277279
return $query_args;
278280
}
279281

0 commit comments

Comments
 (0)