定制 marshallu/mu-duplicate-post 二次开发

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

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

marshallu/mu-duplicate-post

最新稳定版本:1.0.1

Composer 安装命令:

composer require marshallu/mu-duplicate-post

包简介

A lean WordPress plugin for duplicating any post type as a draft.

README 文档

README

A lean WordPress plugin for duplicating any post type as a draft. No settings pages, no bloat — just a single action that copies a post and drops you into the editor.

Features

  • Adds a "Duplicate" row action to all post type list screens
  • Adds a "Duplicate as Draft" button to the publish meta box on the edit screen
  • Copies post content, excerpt, meta, and taxonomy terms
  • Duplicate is always created as a draft assigned to the current user
  • Respects post type capabilities — only users who can create posts of that type can duplicate them

Requirements

  • PHP 8.3 or higher
  • WordPress 6.0 or higher

Installation

Install via Composer:

composer require marshallu/mu-duplicate-post

Or download and place the plugin folder in your wp-content/plugins directory, then activate it from the WordPress admin.

Usage

On any post type list screen, hover over a row and click "Duplicate". The duplicate will be created as a draft and you will be redirected to the edit screen.

On the post edit screen, a "Duplicate as Draft" button appears in the publish meta box.

Development

composer install
composer run lint
composer run format
composer run analyse

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固