PHPackages                             frc/wp-base - 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. frc/wp-base

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

frc/wp-base
===========

A collection of modifications and default settings to apply for theme, admin, login &amp; plugins.

v2.0.0(4y ago)121.4k↓53.8%1MITPHPPHP &gt;=7.0

Since Feb 20Pushed 4y ago9 watchersCompare

[ Source](https://github.com/frc/wp-base)[ Packagist](https://packagist.org/packages/frc/wp-base)[ Docs](https://www.frantic.com/)[ RSS](/packages/frc-wp-base/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (20)Used By (1)

FRC - WP Base
=============

[](#frc---wp-base)

This is a must-use plugin, plugin activation not required.

To activate module add theme support:

`add_theme_support('frc-base-{SIDE}-{MODULE-NAME}');`

For example:

`add_theme_support('frc-base-theme-disable-api');`

Available sides:

- `plugin` - Applied if supported plugin is activated
- `login` - Login and access related modules
- `admin` - Applied only when in admin panel (theme modules will not be loaded)
- `theme` - Applied for theme, REST API and any public side of the application

Usage
-----

[](#usage)

Add theme support to `functions.php`.

Example - recommended supports:

```
// Theme
add_theme_support('frc-base-theme-clean-up');
add_theme_support('frc-base-theme-disable-api');
add_theme_support('frc-base-theme-disable-asset-versioning');
add_theme_support('frc-base-theme-disable-rest-api', [
    'disabled' => ['/'],
]);
add_theme_support('frc-base-theme-disable-trackbacks');

// Admin
add_theme_support('frc-base-admin-clean-up');
add_theme_support('frc-base-admin-defaults-tinymc');
add_theme_support('frc-base-admin-disable-update-checks');

// Plugins
add_theme_support('frc-base-plugin-all');
```

### Enable side´s all modules

[](#enable-sides-all-modules)

Example - enable all theme related modules:

`add_theme_support('frc-base-theme-all');`

### Disable modules

[](#disable-modules)

It is possible to disable modules added by 'default' or 'all' feature by adding `!` begeing of the feature.

Example:

```
add_theme_support('frc-base-theme-all'); // Activate all plugin modules

add_theme_support('!frc-base-plugin-woocommerce');  // Disable WooCommerce plugin module
```

Feature options
---------------

[](#feature-options)

Some modules supports options:

`frc-base-theme-disable-rest-api`:

```
add_theme_support('frc-base-theme-disable-rest-api', [
    'disabled' => ['/'], // Disable all routes
    // or
    'disabled' => ['users', 'posts'], // Disable user & post routes

    'allowed' => ['posts'], // If all routes has been disabled but allow 'posts' route

    // super admin / admins have access to all routes always, other logged in users can be limited as follows
    'authenticated' => [
         'disabled' => ['/'],
         'allowed' => ['posts'],
     ]

]);
```

Available modules
-----------------

[](#available-modules)

Admin

- `frc-base-admin-clean-up`
- `frc-base-admin-defaults-tinymc`
- `frc-base-admin-defaults` `(enabled by default)`
- `frc-base-admin-disable-update-checks`

Login

- `frc-base-login-defaults` `(enabled by default)`
- `frc-base-login-force`
- `frc-base-login-expiration`

Plugin

- `frc-base-plugin-acf`
- `frc-base-plugin-auth0`
- `frc-base-plugin-defaults` `(enabled by default)`
- `frc-base-plugin-gravityforms`
- `frc-base-plugin-woocommerce`

Theme

- `frc-base-theme-clean-up`
- `frc-base-theme-defaults` `(enabled by default)`
- `frc-base-theme-disable-api`
- `frc-base-theme-disable-asset-versioning`
- `frc-base-theme-disable-rest-api`
- `frc-base-theme-disable-trackbacks`

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 78.2% 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

Every ~121 days

Recently: every ~231 days

Total

10

Last Release

1598d ago

Major Versions

v1.0.8 → v2.0.02022-02-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1e6b94e34fb8afb2d20c27189f9de8ff081f8a6949ee225d3a450327abb45f2?d=identicon)[janne](/maintainers/janne)

---

Top Contributors

[![jmerilainen](https://avatars.githubusercontent.com/u/5939342?v=4)](https://github.com/jmerilainen "jmerilainen (43 commits)")[![JanneAalto](https://avatars.githubusercontent.com/u/6008144?v=4)](https://github.com/JanneAalto "JanneAalto (9 commits)")[![crsohara](https://avatars.githubusercontent.com/u/2795606?v=4)](https://github.com/crsohara "crsohara (2 commits)")[![pnu](https://avatars.githubusercontent.com/u/45619?v=4)](https://github.com/pnu "pnu (1 commits)")

---

Tags

wordpress

### Embed Badge

![Health badge](/badges/frc-wp-base/health.svg)

```
[![Health](https://phpackages.com/badges/frc-wp-base/health.svg)](https://phpackages.com/packages/frc-wp-base)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k463.8k2](/packages/roots-bedrock)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[roots/wp-stage-switcher

WordPress plugin that allows you to switch between different environments from the admin bar

383469.2k3](/packages/roots-wp-stage-switcher)[vinkla/wordplate

The WordPlate boilerplate

2.2k5.3k](/packages/vinkla-wordplate)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)

PHPackages © 2026

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