---
title: "What Are The Custom Hooks & Filter For Essential Blocks For Gutenberg Blocks?"
description: Here you can find all the custom hooks and filters for Essential Blocks to modify this plugin.
url: "https://essential-blocks.com/docs/custom-hooks-filter-gutenberg/"
updated: "2023-03-20"
category: FAQ
tags:
  - blocks
---

# What Are The Custom Hooks & Filter For Essential Blocks For Gutenberg Blocks?

Custom hooks and filters can help you modify or extend any plugin. In Essential Blocks, we bring you **custom hooks and filters** that you can use to modify this plugin according to your needs. 

## **Custom Hooks & Filter For Essential Blocks For Gutenberg Blocks**

In the following guide, we will share all the custom hooks which you need to extend the features of Essential Blocks for Gutenberg.

### **EB Post Grid Block**

In some cases, you may want to add a custom filter to the [**EB Post Grid Block**](https://essential-blocks.com/docs/eb-post-grid/)**.**Here are the necessary filters to extend the block:

#### **Post Grid Filter**

```
eb_post_grid_query_results 
```

(This filer will allow you to modify the query results)

##### **Parameter:** 

```
$post (array)
```

(Post list)

##### **Return: **

```
$post (array)
```

(Post list)

#### **Example**

```
function eb_post_grid_query_filter($query) {
//Your code here
return $query;
}
add_filter('eb_post_grid_query_results', 'eb_post_grid_query_filter');
```

### **Post Carousel** **Block**

If you want to add a custom filter to the [**EB Post Carousel Block**](https://essential-blocks.com/docs/eb-post-carousel/)**.**Here are the necessary filters to extend the block:

#### **Post Carousel Filter**

```
eb_post_carousel_query_results 
```

(This filer will allow you to modify the query results)

##### **Parameter:** 

```
$post (array)
```

(Post list)

##### **Return: **

```
$post (array)
```

(Post list)

#### **Example**

```
function eb_post_carousel_query_filter($query) {
//Your code here
return $query;
}
add_filter('eb_post_carousel_query_results', 'eb_post_carousel_query_filter');
```

Using the custom hooks and filters you can easily extend Essential Blocks as you want. 

Getting stuck? Feel free to [**contact our support**](http://wpdeveloper.net/support/) for further assistance.
