Title: Black Bar
Author: Gemini Labs
Published: <strong>ফেব্ৰুৱাৰী 22, 2018</strong>
Last modified: মে’ 17, 2026

---

প্লাগিনৰ সন্ধান কৰক

![](https://ps.w.org/blackbar/assets/banner-772x250.png?rev=2864188)

![](https://ps.w.org/blackbar/assets/icon-256x256.png?rev=2864188)

# Black Bar

 [Gemini Labs](https://profiles.wordpress.org/geminilabs/)-ৰ দ্বাৰা

[ডাউনল’ড কৰক](https://downloads.wordpress.org/plugin/blackbar.4.2.0.zip)

 * [বিশদ বিৱৰণ](https://as.wordpress.org/plugins/blackbar/#description)
 * [পৰ্য্যালোচনা](https://as.wordpress.org/plugins/blackbar/#reviews)
 *  [ইনষ্টলেশ্যন](https://as.wordpress.org/plugins/blackbar/#installation)
 * [বিকাশ](https://as.wordpress.org/plugins/blackbar/#developers)

 [সাহায্য](https://wordpress.org/support/plugin/blackbar/)

## বৰ্ণনা

Black Bar is an unobtrusive Debug Bar for WordPress developers. It collects and 
displays errors, executed SQL queries, slow actions and hooks, theme templates, 
global variables, and provides a profiler.

How it helps you with development:

 * Debug your code with the Console
 * Inspect global variables (COOKIE, GET, POST, SERVER, SESSION, WP_Screen)
 * Measure performance of your code with the Profiler
 * View any PHP errors that occur when loading a page in the Console
 * View executed MySQL queries along with execution time and backtrace
 * View template files of the active theme in loaded order
 * View the 50 slowest action and filter hooks along with callbacks ordered by priority

## ইনষ্টলেশ্যন

If you have never installed a WordPress plugin before, you can [read instructions on how to do this here](https://wordpress.org/documentation/article/manage-plugins/).

## সঘনাই উত্থাপিত প্ৰশ্ন

### How do I add entries to the Console?

To add entries to the console, insert the following line of PHP anywhere in your
code:

    ```
    apply_filters('console', 'Enter something to debug here');
    ```

You can also add an optional log level like this:

    ```
    apply_filters('console', 'Enter something to debug here', 'error');
    ```

The available log levels are: `debug`, `info`, `notice`, `warning`, `error`, `critical`,`
alert`, and `emergency`.

### How do I use the Profiler?

To use the profiler, insert the following lines of PHP _before_ and _after_ the 
code you are profiling:

_Before:_

    ```
    apply_filters('trace:start', 'Enter a description of what you are profiling here');
    ```

_After:_

    ```
    apply_filters('trace:stop');
    ```

### How do I enable the plugin for non-administrators?

By default, Black Bar is only visible to administrator users. To enable it for all
logged-in users, use this code snippet:

    ```
    add_filter('blackbar/enabled', 'is_user_logged_in');
    ```

### How do I change the number of slowest hooks displayed?

By default, Black Bar displays the 50 slowest action/filter hooks. To display all
hooks, use this code snippet:

    ```
    add_filter('blackbar/hooks/all', '__return_true');
    ```

### How do I change the millisecond threshold which determines a slow query?

By default, Black Bar marks queries that run longer than 50ms with a warning color,
and longer than 1000ms with an error color. To change these thresholds, use these
hooks:

    ```
    add_filter('blackbar/queries/ms_error', fn () => 1000); // 1s
    add_filter('blackbar/queries/ms_warning', fn () => 50); // 50ms
    ```

## পৰ্য্যালোচনা

![](https://secure.gravatar.com/avatar/723b9723a653693a60c038fde33204022837df98f30362e638e59774a06d0c34?
s=60&d=retro&r=g)

### 󠀁[Useful and easy to use](https://wordpress.org/support/topic/useful-and-easy-to-use-70/)󠁿

 [theunnicked](https://profiles.wordpress.org/theunnicked/) ফেব্ৰুৱাৰী 15, 2026

This plugin allowed me to pinpoint performance issues, not only within my code, 
but also in used plugins that were not optimised enough.

![](https://secure.gravatar.com/avatar/a8a7f02dc4a71b4d38fd8d07cb400f27f81a7e7a1684b4fa808af76dfbc7e4d3?
s=60&d=retro&r=g)

### 󠀁[Great tool](https://wordpress.org/support/topic/great-tool-2103/)󠁿

 [xorinzor](https://profiles.wordpress.org/xorinzor/) এপ্ৰিল 25, 2024

Was wondering why my wordpress installation was unbearably slow. This plugin helped
me discover the massive amount of SQL queries generated by 2 conflicting plugin 
settings. Problem solved!

![](https://secure.gravatar.com/avatar/7d6fa1b5f32586104b1328b7a744e2c85ba9c27f7e80b6e3691c88955a7de6ea?
s=60&d=retro&r=g)

### 󠀁[i like it](https://wordpress.org/support/topic/i-like-it-975/)󠁿

 [ajaxStardust](https://profiles.wordpress.org/ajaxstardust/) ফেব্ৰুৱাৰী 4, 2023

nice. thanks for updating. i prefer this extension for debugging.

![](https://secure.gravatar.com/avatar/44bdb8a692d4590c0d38a3360128936e5793430074fd29914f516aa7c3db96df?
s=60&d=retro&r=g)

### 󠀁[Indispensable / Essential](https://wordpress.org/support/topic/indispensable-essential/)󠁿

 [informatux](https://profiles.wordpress.org/informatux/) এপ্ৰিল 14, 2020

Il fait l’affaire haut la main, parfait 😉 It did the trick, perfect 😉

![](https://secure.gravatar.com/avatar/856e8066daaed849844c6bd0f17da05869aa048e79c0340b5b9268198be706f0?
s=60&d=retro&r=g)

### 󠀁[Developer must have](https://wordpress.org/support/topic/developer-must-have/)󠁿

 [Anna Bansaghi](https://profiles.wordpress.org/annabansaghi/) জুলাই 23, 2019 1টা
প্ৰত্যুত্তৰ

Thank you for giving new life to BlackBox Debug Bar! Not only the usefulness of 
this plugin, but the beautiful PHP coding leads me to write this review. I have 
learnt a lot from your code.

![](https://secure.gravatar.com/avatar/6cce48d5b3d8e19f5985ef7e189d6e98031d4059c73b9a2428f42a5b533c95a2?
s=60&d=retro&r=g)

### 󠀁[Beautiful way to show the data.](https://wordpress.org/support/topic/beautiful-way-to-show-the-data/)󠁿

 [Lenin Zapata ☄](https://profiles.wordpress.org/ilenstudio/) মাৰ্চ 28, 2019

This is a beautiful way to interpress the data, I am a developer and this plugin
helped me correct errors, I really feel very inspired. Thanks for the idea.

 [ আটাই 9টা পৰ্য্যালোচনা পঢ়ক ](https://wordpress.org/support/plugin/blackbar/reviews/)

## অৱদানকাৰী আৰু বিকাশকাৰীসকল

“Black Bar” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল

 *   [ Gemini Labs ](https://profiles.wordpress.org/geminilabs/)
 *   [ Paul ](https://profiles.wordpress.org/pryley/)

“Black Bar” 2টা ভাষাত অনুবাদ কৰা হৈছে। [অনুবাদকসকল](https://translate.wordpress.org/projects/wp-plugins/blackbar/contributors)
ক তেওঁলোকৰ অৱদানৰ বাবে ধন্যবাদ।

[আপোনাৰ ভাষাত “Black Bar” অনুবাদ কৰক।](https://translate.wordpress.org/projects/wp-plugins/blackbar)

### বিকাশৰ প্ৰতি আগ্ৰহী?

[ক’ড ব্ৰাউজ কৰক](https://plugins.trac.wordpress.org/browser/blackbar/), [SVN ৰিপজিটৰী](https://plugins.svn.wordpress.org/blackbar/)
চাওক নাইবা [RSS](https://plugins.trac.wordpress.org/log/blackbar/?limit=100&mode=stop_on_copy&format=rss)-
দ্বাৰা [বিকাশৰ পঞ্জী](https://plugins.trac.wordpress.org/log/blackbar/) ছাবস্ক্ৰাইব
কৰক।

## সলনি-পঞ্জী

#### 4.2.0 (2026-05-17)

 * Added “blackbar/queries/ms_error” filter hook
 * Added “blackbar/queries/ms_warning” filter hook
 * Added Enqueued tab
 * Changed minimum PHP version to 8.1.2
 * Changed minimum WordPress version to 6.7

#### 4.1.4 (2024-05-08)

 * Added “blackbar/hooks/all” filter hook
 * Added highlighting of major WordPress hooks
 * Added support for static callables used for hook callbacks in Site Reviews
 * Change minimum PHP version to 7.4
 * Change minimum WordPress version to 6.1

#### 4.0.3 (2023-10-11)

 * Fixed debugging of non-scalar values
 * Fixed display of console values with an Unknown log level

#### 4.0.2 (2023-09-18)

 * Fixed PHP 7 support
 * Fixed console values which include HTML

#### 4.0.1 (2023-03-04)

 * Added cache busting to enqueued assets
 * Added console level filter counts
 * Added HTTP_COOKIE value to INPUT_SERVER globals

#### 4.0.0 (2023-02-13)

 * Added console level filters
 * Added sorting to Action/Filter Hooks
 * Added syntax highlighting to console entries
 * Added trace information to SQL queries
 * Beautified SQL formating
 * Changed Profiler usage (use the “trace:start” and “trace:stop” hooks)
 * Improved Profiler, it is now also more accurate
 * Refreshed UI
 * Requires PHP >= 7.3

[See changelog for all versions](https://raw.githubusercontent.com/pryley/blackbar/main/changelog.txt).

## মেটা

 *  **4.2.0** সংস্কৰণ
 *  **3 সপ্তাহ আগত** শেষবাৰ আপডে’ট হৈছিল
 *  সক্ৰিয় ইনষ্টলেশ্যন **600+**
 *  WordPress-ৰ সংস্কৰণ ** 6.7 বা তাতকৈ ওপৰৰ **
 *  ইমানলৈকে পৰীক্ষা কৰা হৈছে **7.0**
 *  PHP-ৰ সংস্কৰণ ** 8.1.2 বা তাতকৈ ওপৰৰ **
 *  ভাষাবোৰ
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/blackbar/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/blackbar/)
   আৰু [English (US)](https://wordpress.org/plugins/blackbar/).
 *  [আপোনাৰ ভাষাত অনুবাদ কৰক](https://translate.wordpress.org/projects/wp-plugins/blackbar)
 * [debug bar](https://as.wordpress.org/plugins/tags/debug-bar/)[debugbar](https://as.wordpress.org/plugins/tags/debugbar/)
   [debugging](https://as.wordpress.org/plugins/tags/debugging/)
 *  টেগবোৰ
 *  [উচ্চখাপৰ ভিউ](https://as.wordpress.org/plugins/blackbar/advanced/)

## ৰে’টিংবোৰ

 5টাৰ ভিতৰত 5টা তৰা।

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/blackbar/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/blackbar/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/blackbar/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/blackbar/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/blackbar/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/blackbar/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/blackbar/reviews/)

## অৱদানকাৰীসকল

 *   [ Gemini Labs ](https://profiles.wordpress.org/geminilabs/)
 *   [ Paul ](https://profiles.wordpress.org/pryley/)

## সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

 [সাহায্যৰ ফ’ৰাম চাওক](https://wordpress.org/support/plugin/blackbar/)

## দান কৰক

আপুনি এই প্লাগিনৰ উন্নতিৰ প্ৰতি সাহায্য আগবঢ়াব বিচাৰেনে?

 [ এই প্লাগিনক অনুদান দিয়ক ](https://ko-fi.com/pryley)