PHPackages                             masonitedoors/wp-theme-lock - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. masonitedoors/wp-theme-lock

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

masonitedoors/wp-theme-lock
===========================

An mu-plugin that forces a WordPress theme to always be active. Requires https://github.com/masonitedoors/wp-headless-theme.

1.0.0(5y ago)0137MITPHPPHP &gt;=7

Since Nov 12Pushed 5y ago3 watchersCompare

[ Source](https://github.com/masonitedoors/wp-theme-lock)[ Packagist](https://packagist.org/packages/masonitedoors/wp-theme-lock)[ RSS](/packages/masonitedoors-wp-theme-lock/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

WP Theme Lock
=============

[](#wp-theme-lock)

[![WP Theme Lock on Packagist](https://camo.githubusercontent.com/2005955da5b3be239b4e6ff719e04c667303ad3b75d31ad6e1913e55a2d99c1c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61736f6e697465646f6f72732f77702d7468656d652d6c6f636b2e7376673f7374796c653d666c6174)](https://packagist.org/packages/masonitedoors/wp-theme-lock)

An mu-plugin that forces a WordPress theme to always be active. Intended for a [Headless WordPress](https://www.gatsbyjs.com/docs/glossary/headless-wordpress/) setup.

Config
------

[](#config)

Out of the box, this mu-plugin expects [wp-headless-theme](https://github.com/masonitedoors/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.
});
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6676674?v=4)[Joe Fusco](/maintainers/josephfusco)[@josephfusco](https://github.com/josephfusco)

---

Top Contributors

[![josephfusco](https://avatars.githubusercontent.com/u/6676674?v=4)](https://github.com/josephfusco "josephfusco (1 commits)")

---

Tags

headless-cmswordpresswordpress-muplugin

### Embed Badge

![Health badge](/badges/masonitedoors-wp-theme-lock/health.svg)

```
[![Health](https://phpackages.com/badges/masonitedoors-wp-theme-lock/health.svg)](https://phpackages.com/packages/masonitedoors-wp-theme-lock)
```

###  Alternatives

[arielmejiadev/larapex-charts

Package to provide easy api to build apex charts on Laravel

304503.0k](/packages/arielmejiadev-larapex-charts)[fof/discussion-language

Specify the language a discussion is written in &amp; sort by language

1035.6k7](/packages/fof-discussion-language)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
