add wp_query filters
-
Hi,
Thanks for this wonderful Blocks plugin.
Would it be possible to add some filters to the code? I want to change the queries for the custom-post-type, post-carousel, post-slider and recent-posts blocks.
Something like eg. (for the recent-posts block):
$query_args = apply_filters( 'getwid-post-query-args', $query_args, 'recent-posts' ); $q = new \WP_Query( $query_args );
would be really helpful. Same could be added to the other relevant blocks.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add wp_query filters’ is closed to new replies.