定制 yard/wp-user-roles 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

yard/wp-user-roles

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

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固