| 开发者 | szepe.viktor |
|---|---|
| 更新时间 | 2015年12月27日 01:00 |
| 捐献地址: | 去捐款 |
| PHP版本: | 3.8 及以上 |
| WordPress版本: | 4.4 |
| 版权: | GPLv2 |
wp-admin/options.php.
It works only on WordPress Settings API-like formatted — not necessarily API generated — admin pages.
E.g. <input> elements cannot be wrapped in <span>.
激活
You can find the plugin's checkbox in standard Screen Options (upper right corner).
This checkbox could be overwritten — thus hidden — by poorly written plugins.
To restrict Machine Language to a certain admin page, copy this to your wp-config.php:
define( 'MACHINE_LANGUAGE_HOOK', 'load-options-reading.php' );
For example this line causes to run only on Settings / Reading.
产品特点
for attributes of labelsselect-s get a title showing all option values comma separated (hover over select-s with your mouse)option-s get values appended in the form of "original option text|value"p-s and span-s with "description" class) will be hidden,
this way Machine Language will clean up all admin pages,
descriptions are hidden by CSS, so there's no FOUCselect-s with empty values are notmachine-language.php to the wp-content/mu-plugins/ or wp-content/plugins/ directoryplugins dir)Even if your admin page is not generated by the Setting API you should output HTML like in WordPress Settings pages.
No, you shouldn't.