[wordpress插件] Custom Status自订状态

wordpress 插件 文章 2020-04-09 21:00 584 0 全屏看文

AI助手支持GPT4.0

评分
60
描述

Add new statuses to post, page and custom-post, by simple user interface.

通过简单的用户界面将新状态添加到帖子,页面和自定义帖子中。

New statuses are listed in drop-down list for “edit-status” menu for post.

新状态在下拉菜单中列出了发布的“编辑状态”菜单。

In the drop-down list you can view all custom status (status created from register_post_status() function too)

在下拉列表中,您可以查看所有自定义状态(也可以通过register_post_status()函数创建的状态)

This plugin add 3 new hook :

此插件添加了3个新钩子:

    • {$post_type}_save_action : add/edit “save” actions in minor-publish section for publish metabox

      {$ post_type} _save_action:在“未成年人发布”部分中添加/编辑“保存”操作,以发布metabox

    • {$post_type}_available_statuses : changeemove statuses in status dropdown list in minor-publish section for publish metabox

      {$ post_type} _available_statuses:更改/删除“发布”子框的“次要发布”部分中状态下拉列表中的状态

    • {$post_type}_publish_action : edit publish action label in publish section for publish metabox

      {$ post_type} _publish_action:在“发布”部分中编辑用于发布元框的“发布动作”标签

安装步骤

Use standard wordpress installation.

使用标准的wordpress安装。

下载地址
https://downloads.wordpress.org/plugin/custom-status.zip
-EOF-

AI助手支持GPT4.0