Title: WP Tuner
Author: MrPeteH
Published: <strong>14 ພະຈິກ 2008</strong>
Last modified: 24 ສິງຫາ 2009

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://s.w.org/plugins/geopattern-icon/wptuner.svg)

# WP Tuner

 ໂດຍ [MrPeteH](https://profiles.wordpress.org/mrpeteh/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/wptuner.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/wptuner/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/wptuner/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/wptuner/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/wptuner/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/wptuner/)

## ຄຳອະທິບາຍ

The (mu-compatible) WP Tuner plugin for WordPress is a powerful and easy to use 
way to answer many hard questions about why your blog is slow or cranky. What’s 
causing the slowdown? Is it a plugin? Is it your host?

Used with a bit of common sense, this powerful plugin will help blog administrators
as well as software developers improve their WordPress blog performance.

Perfect for WordPress site administrators, plugin and theme designers, developers

Fully translatable.

### Advanced Use

Here are more advanced ways to make use of _WP Tuner_. Please [share your questions and/or stories](http://blogs.icta.net/plugins/wptuner)
examples to share with others!

1) Hook any WordPress action

In wptuner.php, you will find a default set of action hooks. You can add as many
hooks as you like for other actions. They look like this (just change “admin_footer”
to the name of the action you want to measure):

    ```
    add_action('admin_footer', 'wpTuneFilterTime' );
    ```

Each hook adds a line to the _WP Tuner_ performance analysis table, when that action
is triggered.

2) Time anything at all in WordPress

WP Tuner contains a function that causes performance analysis for any section of
WordPress code. Just use
 wpTuneMarkTime(‘My Marker string’);

…at the beginning of the code you want analyzed. Add another marker at the end if
needed.

For example, suppose you want to know how much time is spent loading each of the
plugins you have enabled. Here’s how to do it, by adding two simple lines to wp-
settings.php:

    ```
    if (function_exists(wpTuneMarkTime)) wpTuneMarkTime('Load Plugins'); // ** Add THIS line **

    if ( get_option('active_plugins') ) {
      $current_plugins = get_option('active_plugins');
      if ( is_array($current_plugins) ) {
        foreach ($current_plugins as $plugin) {
          if (function_exists(wpTuneMarkTime)) wpTuneMarkTime('Plugin: '.$plugin); // ** Add THIS line **
          if ( '' != $plugin && 0 == validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) )
            include_once(WP_PLUGIN_DIR . '/' . $plugin);
        }
      }
    }<h3>Credits</h3>
    ```

Many thanks to the WP Tuner translation team!

Русский: [Кактусу](http://lecactus.ru) (updated through WP Tuner 0.9.3)

### Readme Validator

This readme was validated using:
 [https://wordpress.org/extend/plugins/about/validator/](https://wordpress.org/extend/plugins/about/validator/)

## ພາບໜ້າຈໍ

 * [[
 * One of the available analysis results. (This summarizes database queries, by 
   plugin, widget, theme, or section of the core code in WordPress.)
 * [[
 * The top portion of the WP Tuner admin page. (It includes simple one-click presets
   on the left, with detailed settings available on the right.)

## ການຕິດຕັ້ງ

 1. Upload the _wptuner_ folder (inside the zip file) to your _/wp-content/plugins/_
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. The plugin management page _(Settings->WPtuner)_ provides settings, hints, and 
    troubleshooting if the plugin will not fully auto-install.

Please report any install errors to me, at [my site](http://blogs.icta.net/plugins/wptuner).
It will help if you can copy the _wpTuner Diagnostics_ produced when you set the
WP Tuner Debug Level to 1.

#### Updating

 1. Deactive the existing plugin, to remove its hooks (in _wp-config.php_, etc)
 2. Copy the new files to replace the old (usually the plugins/wptuner folder)
 3. Activate the new plugin

## ຄຳຖາມທີ່ພົບເລື້ອຍ

  I’m having trouble getting it to work

 1. Have you looked at the settings page (Settings->WP Tuner)? You’ll find installer
    error notes there. Most common: your WP root folder needs write permission (at 
    least 0755), and _WP Tuner_ must be able to set permissions on your `wp-config.
    php` file to make it editable.
 2. Are you logged in with Administrator permissions (level 10)? Normally, only admins
    see anything.
 3. If you continue to have trouble, please set the Debug Level to 1, copy the _wpTuner
    Diagnostics_ and paste them into an error report at [my site](http://blogs.icta.net/plugins/wptuner).

  How do I customize WP Tuner?

There’s little reason to bother changing the CSS. This is an admin-only tool; your
readers will not see anything. However, there’s some CSS at the top of `wptunershow.
php`, and further down in `wptunersetup.php`.

This is a fully translatable/localizable plugin. See the `wptuner.pot` file, and
the online _gettext_ tools such as poedit. Please send me your translations; I’ll
make them part of the distribution with credit to you!

  How do I examine performance in more detail?

WP Tuner is an entire performance analysis toolkit. The built-in admin settings 
provide a set of default measures that can be enabled without manual intervention.

See the [Advanced Use](https://wordpress.org/extend/plugins/wptuner/other_notes/)
hints section for some examples

## ການຣີວິວ

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

### 󠀁[Do NOT use… but refresh is coming…](https://wordpress.org/support/topic/do-not-use-but-refresh-is-coming/)󠁿

 [MrPeteH](https://profiles.wordpress.org/mrpeteh/) 3 ກັນຍາ 2016

Hi, this is Mr Pete, the author of WP Tuner. I apologize that the Real World took
me away for several years (dealing with aging parents and more.) I’m back, and plan
to refresh the plugin “soon.” Please keep expectations low… and hopefully I can 
exceed them! Thank you so much for your support.

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

### 󠀁[DO NOT USE](https://wordpress.org/support/topic/do-not-use-15/)󠁿

 [](https://profiles.wordpress.org/jamierc/) 3 ກັນຍາ 2016

This plugin broke my site – it would not load at all until I could log in over ftp
and manually removed the plugin installation files. Do not use!

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

### 󠀁[Breaks WordPress](https://wordpress.org/support/topic/breaks-wordpress-3/)󠁿

 [blad79](https://profiles.wordpress.org/blad79/) 7 ກຸມພາ 2017

Wordpress 3.7, 3.8

 [ ອ່ານການຣີວິວທັງໝົດ 8 ລາຍການ ](https://wordpress.org/support/plugin/wptuner/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“WP Tuner” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດ
ທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ MrPeteH ](https://profiles.wordpress.org/mrpeteh/)
 *   [ Mr Pete ](https://profiles.wordpress.org/mr-pete/)

[ແປ “WP Tuner” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/wptuner)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/wptuner/), ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/wptuner/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/wptuner/) ຜ່ານ
[RSS](https://plugins.trac.wordpress.org/log/wptuner/?limit=100&mode=stop_on_copy&format=rss).

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **0.9.6**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **17 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 2.0.6 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **2.8.4**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/wptuner/)
 * ແທັກ
 * [database](https://lo.wordpress.org/plugins/tags/database/)[performance](https://lo.wordpress.org/plugins/tags/performance/)
   [slow](https://lo.wordpress.org/plugins/tags/slow/)[speed](https://lo.wordpress.org/plugins/tags/speed/)
   [tuning](https://lo.wordpress.org/plugins/tags/tuning/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/wptuner/advanced/)

## ການໃຫ້ຄະແນນ

 1.5 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/wptuner/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/wptuner/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/wptuner/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/wptuner/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 7 ລາຍການ     ](https://wordpress.org/support/plugin/wptuner/reviews/?filter=1)

[ເພີ່ມຄຳຄິດເຫັນຂອງຂ້ອຍ](https://wordpress.org/support/plugin/wptuner/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/wptuner/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ MrPeteH ](https://profiles.wordpress.org/mrpeteh/)
 *   [ Mr Pete ](https://profiles.wordpress.org/mr-pete/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/wptuner/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](http://blogs.icta.net/plugins/tipjar)