masonitedoors/wp-theme-lock
Composer 安装命令:
composer require masonitedoors/wp-theme-lock
包简介
An mu-plugin that forces a WordPress theme to always be active. Requires https://github.com/masonitedoors/wp-headless-theme.
README 文档
README
An mu-plugin that forces a WordPress theme to always be active. Intended for a Headless WordPress setup.
Config
Out of the box, this mu-plugin expects wp-headless-theme to be installed.
You can set your own theme using the available filter in a separate mu-plugin.
add_filter( 'wp_theme_lock', function() { return 'twentytwenty'; // Theme directory to lock. });
统计信息
- 总下载量: 137
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-12