承接 yard/wp-user-roles 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yard/wp-user-roles

最新稳定版本:v2.0.2

Composer 安装命令:

composer require yard/wp-user-roles

包简介

An Acorn package for managing user roles in WordPress.

README 文档

README

Code Style PHPStan Tests Code Coverage Badge Lines of Code Badge

An Acorn package for managing user roles in WordPress.

Features

  • Configure: Define custom roles and capabilities with a configuration file.
  • (Re)Create: Insert roles into the database with a single wp-cli command.
  • Clone roles: Quickly set up new roles based on existing ones.
  • Delete roles: Remove any roles that you don’t need.

See config for all configuration options.

Requirements

Installation

  1. Install this package with Composer:

    composer require yard/wp-user-roles
  2. Run the Acorn WP-CLI command to discover this package:

    wp acorn package:discover

Usage

  1. Publish the config file with:

    wp acorn vendor:publish --provider="Yard\UserRoles\UserRolesServiceProvider"
  2. Run WP-CLI command to create roles:

    Single site:

    wp acorn roles:create

    In a multisite:

    wp site list --field=url | xargs -n1 -I % wp acorn roles:create --url=% 

About us

banner

统计信息

  • 总下载量: 3.09k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-08