Last active
December 15, 2021 17:07
-
-
Save Pross/a65221b504e8c4e1955f7504bdc840af 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 | |
function fl_builder_loop_query_args_filter( $query_args ) { | |
if ( 'example-module' == $query_args['settings']->id ) { | |
$query_args['ignore_sticky_posts'] = false; | |
} | |
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