Title: add wp_query filters
Last modified: October 16, 2020

---

# add wp_query filters

 *  Resolved [joost de keijzer](https://wordpress.org/support/users/joostdekeijzer/)
 * (@joostdekeijzer)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/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)

 *  Plugin Support [dimned](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/add-wp_query-filters/#post-13561018)
 * Hi [@joostdekeijzer](https://wordpress.org/support/users/joostdekeijzer/),
    I’ve
   added your request to our list of features. We will notify you if we have any
   news. Thanks.

Viewing 1 replies (of 1 total)

The topic ‘add wp_query filters’ is closed to new replies.

 * ![](https://ps.w.org/getwid/assets/icon.svg?rev=2238400)
 * [Getwid - Gutenberg Blocks](https://wordpress.org/plugins/getwid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/getwid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/getwid/)
 * [Active Topics](https://wordpress.org/support/plugin/getwid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/getwid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/getwid/reviews/)

## Tags

 * [query](https://wordpress.org/support/topic-tag/query/)

 * 1 reply
 * 2 participants
 * Last reply from: [dimned](https://wordpress.org/support/users/dimned/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/add-wp_query-filters/#post-13561018)
 * Status: resolved