Created
May 20, 2020 11:43
-
-
Save kamlesh08/d81ec07e85198cb7727d75386273cd89 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
function fl_builder_loop_query_args_filter( $query_args ) { | |
if ( 'test-grid' == $query_args['settings']->id ) { | |
$query_args['post_parent'] = 0; | |
} | |
return $query_args; | |
} | |
add_filter( 'fl_builder_loop_query_args', 'fl_builder_loop_query_args_filter' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment