PHPackages                             wp-content-framework/admin - 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. [Framework](/categories/framework)
4. /
5. wp-content-framework/admin

ActiveLibrary[Framework](/categories/framework)

wp-content-framework/admin
==========================

Wordpress content framework

v1.0.67(4y ago)023.5k3GPL-2.0+PHPPHP &gt;=5.6.0

Since Jan 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wp-content-framework/admin)[ Packagist](https://packagist.org/packages/wp-content-framework/admin)[ Docs](https://github.com/wp-content-framework)[ Fund](https://paypal.me/technote0space)[ RSS](/packages/wp-content-framework-admin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (105)Used By (3)

WP Content Framework (Admin module)
===================================

[](#wp-content-framework-admin-module)

[![CI Status](https://github.com/wp-content-framework/admin/workflows/CI/badge.svg)](https://github.com/wp-content-framework/admin/actions)[![License: GPL v2+](https://camo.githubusercontent.com/ec6306119631a4bc812f4abc1b429674bd65410ae0ef38af01f43483fccc51ce/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076322532422d626c75652e737667)](http://www.gnu.org/licenses/gpl-2.0.html)[![PHP: >=5.6](https://camo.githubusercontent.com/24e105d26965e27afba3dec59eea2ba78bee68047b1762c7be0ba98945ef774e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344352e362d6f72616e67652e737667)](http://php.net/)[![WordPress: >=3.9.3](https://camo.githubusercontent.com/073615bc0d72d97c86c2b3cb3fdbb1f0453a0de432bbe30a48aa8a0d61bec8cf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576f726450726573732d253345253344332e392e332d627269676874677265656e2e737667)](https://wordpress.org/)

[WP Content Framework](https://github.com/wp-content-framework/core) のモジュールです。

Table of Contents
-----------------

[](#table-of-contents)

Details- [要件](#%E8%A6%81%E4%BB%B6)
- [インストール](#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [依存モジュール](#%E4%BE%9D%E5%AD%98%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [基本設定](#%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A)
    - [画面の追加](#%E7%94%BB%E9%9D%A2%E3%81%AE%E8%BF%BD%E5%8A%A0)
    - [アクションリンクの追加](#%E3%82%A2%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%E3%83%AA%E3%83%B3%E3%82%AF%E3%81%AE%E8%BF%BD%E5%8A%A0)
    - [プラグイン情報リンクの追加](#%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%E6%83%85%E5%A0%B1%E3%83%AA%E3%83%B3%E3%82%AF%E3%81%AE%E8%BF%BD%E5%8A%A0)
- [Author](#author)

要件
==

[](#要件)

- PHP 5.6 以上
- WordPress 3.9.3 以上

インストール
======

[](#インストール)

`composer require wp-content-framework/admin`

依存モジュール
-------

[](#依存モジュール)

- [controller](https://github.com/wp-content-framework/controller)
- [view](https://github.com/wp-content-framework/view)

基本設定
----

[](#基本設定)

- configs/config.php

設定値説明main\_menu\_title管理画面のメニュー名（空でプラグイン名） \[default = ''\]menu\_image管理画面のメニューアイコンを指定（空で歯車マーク） \[default = ''\]suppress\_setting\_help\_contentsヘルプを非表示にするかどうかを設定 \[default = false\]setting\_page\_title管理画面のメニューのタイトル \[default = Dashboard\]setting\_page\_priority管理画面のメニューの優先順位 \[default = 0\]setting\_page\_slug管理画面のメニューのslug \[default = setting\]action\_linksアクションリンクの追加plugin\_row\_metaプラグイン情報リンクの追加twitterツイッターのアカウントを指定（ダッシュボード 及び ヘルプに表示されます。空で未使用） \[default = ''\]detail\_url詳細リンクを指定（ダッシュボードに表示されます。空で未使用） \[default = ''\]github\_repoGithubのリポジトリを指定（ダッシュボード 及び エラー時の画面に表示されます。空で未使用） \[default = ''\]contact\_urlプラグインのお問い合わせ用のページのURLを指定（ダッシュボードのヘルプに表示されます。空で未使用） \[default = ''\]githubGithubのアカウントを指定（ダッシュボードのヘルプに表示されます。空で未使用） \[default = ''\]画面の追加
-----

[](#画面の追加)

- src/classes/controllers/admin に PHP ファイル (例：test.php) を追加

```

```

- $instance

    - h：esc\_html
    - dump：var\_dump
    - id
    - form
    - url
    - img
- ヘルプの追加

    - src/classes/controllers/admin に追加した上記 PHP ファイル に以下を追記

```
protected function get_help_contents() {
    return array(
        array(
            'title' => 'Test',
            'view'  => 'test',
        )
    );
}

```

- - src/views/admin/help に PHP ファイル (例：test.php) を追加

```

test

```

アクションリンクの追加
-----------

[](#アクションリンクの追加)

[![action links](https://raw.githubusercontent.com/technote-space/screenshots/master/wp-content-framework/201904121628.png)](https://raw.githubusercontent.com/technote-space/screenshots/master/wp-content-framework/201904121628.png)

配列で指定します。

設定値説明urlリンク または リンクを返す関数 (string or closure, required)labelリンクのテキスト または リンクのテキストを返す関数 (string or closure, required)new\_tab新しいタブで開くかどうか (bool, optional)プラグイン情報リンクの追加
-------------

[](#プラグイン情報リンクの追加)

[![plugin row meta](https://raw.githubusercontent.com/technote-space/screenshots/master/wp-content-framework/201904121629.png)](https://raw.githubusercontent.com/technote-space/screenshots/master/wp-content-framework/201904121629.png)

配列で指定します。

設定値説明urlリンク または リンクを返す関数 (string or closure, required)labelリンクのテキスト または リンクのテキストを返す関数 (string or closure, required)new\_tab新しいタブで開くかどうか (bool, optional)Author
======

[](#author)

- [GitHub (Technote)](https://github.com/technote-space)
- [Blog](https://technote.space)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 99.7% 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 ~9 days

Total

103

Last Release

1753d ago

Major Versions

v0.0.35 → v1.0.02020-01-07

### Community

Maintainers

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

---

Top Contributors

[![technote-space](https://avatars.githubusercontent.com/u/39912269?v=4)](https://github.com/technote-space "technote-space (366 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

phpwordpressframeworkwordpress

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wp-content-framework-admin/health.svg)

```
[![Health](https://phpackages.com/badges/wp-content-framework-admin/health.svg)](https://phpackages.com/packages/wp-content-framework-admin)
```

###  Alternatives

[themosis/theme

The Themosis framework boilerplate theme.

10449.0k3](/packages/themosis-theme)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

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