masonitedoors / wp-theme-lock
An mu-plugin that forces a WordPress theme to always be active. Requires https://github.com/masonitedoors/wp-headless-theme.
Installs: 135
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:wordpress-muplugin
Requires
- php: >=7
This package is auto-updated.
Last update: 2024-10-13 01:01:37 UTC
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. });