---
title: fluentform/api_all_logs
description: "## Description  This filter is used during data logging. You can use this filter to access the logs. ```php apply_filters('fluentform/api_all_logs', $logs); ``` ## Usage   ```php add_filter('fluentform/api_all_logs', function($logs){ return $logs; }, 10, 1); ``` ## Parameters - **$logs** (array) Logs ##…"
url: "https://fluentforms.com/docs/fluentform_api_all_logs/"
updated: "2023-07-24"
category: Filter Hooks
---

# fluentform/api_all_logs

## Description 

This filter is used during data logging. You can use this filter to access the logs.

```php
apply_filters('fluentform/api_all_logs', $logs);
```

## Usage  

```php
add_filter('fluentform/api_all_logs', function($logs){
  return $logs;
}, 10, 1);
```

## Parameters

- **$logs** (array) Logs

## Placement

This code should be placed in the [functions.php](http://codex.wordpress.org/Theme_Development#Functions_File) file of your active theme.

## Source Code

This filter is located in FluentForm\App\Modules\Logger\DataLogger -> getApiLogs()
