| 开发者 | coffee2code |
|---|---|
| 更新时间 | 2021年4月14日 16:16 |
| 捐献地址: | 去捐款 |
| PHP版本: | 4.9 及以上 |
| WordPress版本: | 5.7 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
admin-trim-interface.zip inside the plugins directory for your site (typically wp-content/plugins/)No. The settings for the plugin apply to all users within the admin pages and not to each user individually.
This plugin does not prevent access to the admin dashboard; it merely provides the ability to hide the admin sidebar menu button that leads to the admin dashboard.
c2c_{PluginName}_Plugin_051 to c2c_Plugin_060get_c2c_string() as a getter for translated stringsget_c2c_string()whitelist_options() to allowed_options()add_allowed_options() instead of deprecated add_option_whitelist() for WP 5.5+allowed_options filter instead of deprecated whitelist_options for WP 5.5+is_wp_version_cmp() and get_c2c_string())is_wp_version_cmp() as a utility to compare current WP version against a given WP versioncontextual_help() to be easier to read, and correct function docblocksnumber_format_i18n() to format integer value within input fieldreadme_url() to refer to plugin's readme.txt on plugins.svn.wordpress.orgtype attribute for style tag for themes that support 'html5', updates the plugin framework, adds a TODO.md file, updates a few URLs to be HTTPS, expands unit testing, updates compatibility to be WP 4.9 through 5.4+, and more.type attribute when the theme supports 'html5'contextual_helpprintf() rather than using string concatenation::before and spaces around >)add_css(), admin_init(), explain_nonce(), show_admin_notices(), show_legend_image()set_current_screen() for setting the current screen, defaulting to plugin's setting page