Title: AAA Option Optimizer
Author: Progress Planner
Published: <strong>15, Abril de 2024</strong>
Last modified: 11, Marzu de 2026

---

Guetar plugins

![](https://ps.w.org/aaa-option-optimizer/assets/banner-772x250.png?rev=3324099)

![](https://ps.w.org/aaa-option-optimizer/assets/icon.svg?rev=3324099)

# AAA Option Optimizer

 By [Progress Planner](https://profiles.wordpress.org/progressplanner/)

[Download](https://downloads.wordpress.org/plugin/aaa-option-optimizer.1.6.1.zip)

[Live Preview](https://ast.wordpress.org/plugins/aaa-option-optimizer/?preview=1)

 * [Details](https://ast.wordpress.org/plugins/aaa-option-optimizer/#description)
 * [Reviews](https://ast.wordpress.org/plugins/aaa-option-optimizer/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/aaa-option-optimizer/#installation)
 * [Development](https://ast.wordpress.org/plugins/aaa-option-optimizer/#developers)

 [Support](https://wordpress.org/support/plugin/aaa-option-optimizer/)

## Description

This plugin tracks which of the autoloaded options are used on a page, and stores
that data at the end of page render. It keeps an array of options that it has seen
as being used. On the admin page, it compares all the autoloaded options to the 
array of stored options, and shows the autoloaded options that have not been used
as you were browsing the site. If you’ve been to every page on your site, or you’ve
kept the plugin around for a week or so, this means that those options probably 
don’t need to be autoloaded.

### How to use this plugin

Install this plugin, and go through your entire site. Best is to use it normally
for a couple of days, or to visit every page on your site and in your admin manually.
Then go to the plugin’s settings screen, and go through the unused options. You 
can either decide to remove an unused option (they might for instance be for plugins
you no longer use), or to set it to not autoload. The latter action is much less
destructive: it’ll still be there, but it just won’t be autoloaded.

## Screenshots

 * [[
 * Screenshot of the admin screen, initial tab.
 * [[
 * Screenshot of the “All options” screen, showing you can browse all the options.

## Installation

 1. Search for AAA Option Optimizer on the repository.
 2. Install the plugin.
 3. Wait a week or so. Or, if you’re in a hurry, click around on pages on your site,
    be sure to try and hit every page on your site and in your admin.
 4. Go to the plugin’s admin page and optimize your option usage.

## FAQ

### Why the AAA prefix in the plugin name?

Because the plugin needs to measure options being loaded, it benefits from being
loaded itself first. As WordPress loads plugins alphabetically,
 starting the name
with AAA made sense.

### Do I need to take precautions?

Yes!! Backup your database.

### Where can I report bugs?

Please use [our GitHub](https://github.com/ProgressPlanner/aaa-option-optimizer/)
for reporting bugs or making code suggestions. Feel free to use the forums for asking
questions too, of course.

For security issues, please see the next question.

### How can I report security issues?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/aaa-option-optimizer)

### How can I add recognized plugins?

Please do a pull request via GitHub on [this file](https://github.com/ProgressPlanner/aaa-option-optimizer/blob/develop/known-plugins/known-plugins.json)
in the plugin.

## Reviews

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

### 󠀁[Great for short term use](https://wordpress.org/support/topic/great-for-short-term-use/)󠁿

 [melinahein](https://profiles.wordpress.org/melinahein/) 10, Avientu de 2025 4 
replies

The plugin was great for short term use to figure out unused options from old plugins
after clicking through each page. It really helped to reduce autoloaded options.
When letting it run along for a while as suggested, though, it seems that its database
saves were so large it caused our database to use up all the RAM and make our site
unusable. So beware of that and only use it for a few days.Edit: The Developer reached
out immediately and is working on the issue. Great support!

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

### 󠀁[A very useful plugin!!](https://wordpress.org/support/topic/a-very-useful-plugin-103/)󠁿

 [momo-fr](https://profiles.wordpress.org/momo-fr/) 30, Agostu de 2025

Allows you to clean up the options on sites with a long history of themes and plugins
installations.Very useful.

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

### 󠀁[Requested options that do not exist question](https://wordpress.org/support/topic/requested-options-that-do-not-exist-question/)󠁿

 [mattyscribs](https://profiles.wordpress.org/mattyscribs/) 29, Agostu de 2025

Under “Requested options that do not exist”, I’m not sure to trust setting these
to false. Is there a way to revert any actions I take. How do I know if these actions
are actually needed or do I just trust this plugin’s assessment that they are basically
broken and so can be set to false? SOME EXAMPLES: Option: advancedexcerpt_length
| Source: Unknown | # Calls: 904564Option: analyst_accounts_data | Source: Unknown
| # Calls: 24907Option: analyst_notices | Source: Unknown | # Calls: 24907Option:
code_embed_version | Source: Unknown | # Calls: 904564Option: https_migration_required
| Source: Unknown | # Calls: 904564 Thanks for your help

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

### 󠀁[A joke!!!](https://wordpress.org/support/topic/a-joke-9/)󠁿

 [Oxford Metadata Ltd](https://profiles.wordpress.org/oxfordmetadata/) 31, Xunetu
de 2025

I wonder how on earth a plugin tha promises to optimize the wp_options tables, stores
25MB of data in the option_value !!!! Maybe the guy who developed it does not understand
the fundamentals of the internal database optimizers but such a huge deviation, 
totally ruins MariaDBs/MySQL internal optimizer. You see optimizers work on the 
assumption that in a table, the fields have somewhat related sizes. For more details
please go to MariaDB Jira and check for cases MDEV-34097 and MDEV 32663If you add
records with huge sizes (say > 100k) in wp_options table where each option is usually
less than 30Bytes, then you have an issue. In our case the issue was caused by the
very plugin that we used to monitor our options (that are by and large incorrect).
Avoid it at all costs.

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

### 󠀁[Very helpful](https://wordpress.org/support/topic/very-helpful-1540/)󠁿

 [adcapaust](https://profiles.wordpress.org/adcapaust/) 10, Xunetu de 2025 1 reply

Easily identified what was bloating my options table and allowed to set it to not
autoload. Thank you!

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

### 󠀁[Strange behavior](https://wordpress.org/support/topic/strange-behavior-35/)󠁿

 [esquipulas](https://profiles.wordpress.org/esquipulas/) 13, Xunu de 2025 1 reply

Installed it some times ago, worked well. Since some days generate a huge log saturating
my server space disk (millions of lines …). Had to deactivate it.

 [ Read all 24 reviews ](https://wordpress.org/support/plugin/aaa-option-optimizer/reviews/)

## Contributors & Developers

“AAA Option Optimizer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Progress Planner ](https://profiles.wordpress.org/progressplanner/)
 *   [ Joost de Valk ](https://profiles.wordpress.org/joostdevalk/)
 *   [ Ari Stathopoulos ](https://profiles.wordpress.org/aristath/)
 *   [ Filip Ilić ](https://profiles.wordpress.org/filipi/)

“AAA Option Optimizer” has been translated into 7 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/aaa-option-optimizer/contributors)
for their contributions.

[Translate “AAA Option Optimizer” into your language.](https://translate.wordpress.org/projects/wp-plugins/aaa-option-optimizer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/aaa-option-optimizer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/aaa-option-optimizer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/aaa-option-optimizer/)
by [RSS](https://plugins.trac.wordpress.org/log/aaa-option-optimizer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.6.1

 * Fix infinite recursion in option access monitoring that could cause a fatal error
   in certain hosting environments.

= 1.6.0

 * Replace using ‘all’ filter for monitoring option usage with ‘pre_option’ filter
   for better performance.
 * Migrate tracked options data from a single wp_option to a custom database table
   for improved performance and reliability.

#### 1.5.1

 * Add “select all” checkbox.
 * Fix table filtering by Source column.

#### 1.5.0

 * Prefix the Datatables script slug to avoid conflict with other plugins.
 * Add MainWP to known-plugins list
 * Add SliceWP to known-plugins list
 * Add more known prefixes for WooCommerce options
 * Fixed a bug in bulk-actions

#### 1.4.0

 * Performance improvements.
 * Added bulk-actions to allow optimizing & deleting options in bulk.
 * Added more known plugins.

#### 1.3.2

 * Performance fix: Do not autoload the plugin option.

#### 1.3.1

 * Fix JS error when deleting an option.

#### 1.3

 * Make plugin work with the latest autoload changes.

#### 1.2.1

 * Fix error in `known-plugins.json`.
 * Prevent fatal error when there’s an error in `known-plugins.json`.

#### 1.2

Enhancements:

 * Overhaul of the UX, implementing proper tabs, better buttons and more.
 * Added a new “All options” tab, which, when you hit the button, loads all the 
   options from the database and allows you to manage them.
 * Added a “Reset data” button which resets the tracking data.
 * Added a link to the Optimize Options page from the Plugins page.
 * Much improved recognition of core WordPress options, themes and plugins under“
   Source”, thanks in part to pull requests from [Rogier Lankhorst](https://profiles.wordpress.org/rogierlankhorst/)
   and [system4pc](https://github.com/system4pc).
 * You can now also filter all tables by Source so you can more easily find the 
   options you’re looking for.
 * Many code and speed improvements under the hood, including adding a class autoloader
   and some i18n fixes.

#### 1.1.1

Implement the missing functionality to create an option with value `false` when 
it’s being loaded but doesn’t exist.

#### 1.1

The plugin now recognizes plugins from which the options came (thanks to a great
pull by [Rogier Lankhorst](https://profiles.wordpress.org/rogierlankhorst/)). If
you’re a plugin developer and want your plugin’s options
 properly recognized, please
do a pull request [on this file](https://github.com/ProgressPlanner/aaa-option-optimizer/blob/main/known-plugins/known-plugins.json).

Small enhancements:

 * Column width is now automatically determined which leads to better spacing.
 * Action buttons are now centered in their columns.

Bugs fixed:

 * If you removed autoload from or deleted an option, it’d be removed from the table
   but would be back when you paginated, that’s fixed – thanks to [Jono Alderson](https://profiles.wordpress.org/jonoaldersonwp/)
   for reporting.
 * Fixed sorting by filesize by moving the `KB` to the table heading, so that you
   can now properly sort numbers.
 * Fixed issue where an empty option would result in weird size output.

#### 1.0.2

 * Fixed a bug where the buttons wouldn’t work in a paginated state.
 * Show the value of an option in a `popover`, as suggested with a great pull request
   by [@rogierlankhorst](https://profiles.wordpress.org/rogierlankhorst/).

#### 1.0.1

Fixed an error with values that are objects, not strings, which also caused sorting
not to work for some people.

#### 1.0

Initial release on GitHub and WordPress.org.

## Meta

 *  Version **1.6.1**
 *  Last updated **1 mes ago**
 *  Active installations **9.000+**
 *  WordPress version ** 6.7 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/aaa-option-optimizer/), [Dutch](https://nl.wordpress.org/plugins/aaa-option-optimizer/),
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/aaa-option-optimizer/),
   [English (US)](https://wordpress.org/plugins/aaa-option-optimizer/), [French (France)](https://fr.wordpress.org/plugins/aaa-option-optimizer/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/aaa-option-optimizer/), [Spanish (Spain)](https://es.wordpress.org/plugins/aaa-option-optimizer/)
   y [Swedish](https://sv.wordpress.org/plugins/aaa-option-optimizer/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/aaa-option-optimizer)
 * Tags
 * [cleanup](https://ast.wordpress.org/plugins/tags/cleanup/)[database](https://ast.wordpress.org/plugins/tags/database/)
   [options](https://ast.wordpress.org/plugins/tags/options/)
 *  [Advanced View](https://ast.wordpress.org/plugins/aaa-option-optimizer/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  20 5-star reviews     ](https://wordpress.org/support/plugin/aaa-option-optimizer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/aaa-option-optimizer/reviews/?filter=4)
 *  [  3 3-star reviews     ](https://wordpress.org/support/plugin/aaa-option-optimizer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/aaa-option-optimizer/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/aaa-option-optimizer/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/aaa-option-optimizer/reviews/)

## Contributors

 *   [ Progress Planner ](https://profiles.wordpress.org/progressplanner/)
 *   [ Joost de Valk ](https://profiles.wordpress.org/joostdevalk/)
 *   [ Ari Stathopoulos ](https://profiles.wordpress.org/aristath/)
 *   [ Filip Ilić ](https://profiles.wordpress.org/filipi/)

## Support

Issues resolved in last two months:

     2 out of 3

 [View support forum](https://wordpress.org/support/plugin/aaa-option-optimizer/)