开发者 |
pdclark
elusivelight |
---|---|
更新时间 | 2021年6月24日 03:59 |
PHP版本: | 3.4 及以上 |
WordPress版本: | 5.8 |
styles
folder to the /wp-content/plugins/
directoryAppearance > Customize
Watch this walkthrough for a developer's guide on how to add support. Adding one option takes only one line of code. If coding isn't for you, contact us for help adding options to your theme.
No! Styles is very careful about only loading what is needed to get its job done. Once done editing, stylesheets are cached and loaded for your sites users as quickly as possible. In non-editing mode, Styles only outputs one cached CSS block to your site's header.
wp_options
for 30 days as _transient_storm-styles-THEME-NAME-pre-1.1.0
.styles_get_group_id
for merging with existing groups.add_filter( 'styles_disable_notices', '__return_true' );
styles_json_files
filter to allow plugin authors to enqueue arbitrary customize.json files. customize.json in child plugins and themes are still enqueued automatically.