Linux 软件免费装
Banner图

WP Revised Status

开发者 yivi
更新时间 2016年8月9日 19:10
PHP版本: 4.0 及以上
WordPress版本: 4.6.0
版权: LGPL-3.0+
版权网址: 版权信息

标签

revisions publishing-status

下载

0.6.2 0.7.0 0.8.1 v0.8.2 v0.8.3 v0.8.4 v0.8.5 v0.8.6

详情介绍:

Sometimes it would be useful to track changes in publishing status throughout time, but native WP revisions will always inherit the parent's publishing status. This plugin enables saving the post status ('published', 'draft', 'pending', etc) with each revision, so you can track publishing status where you have many users and accountability is desirable. Available Hooks wp-revised-status_tracked-posttypes You can use this to set up posttypes to track without using the options page. Your function should return an associative array. E.g.: ` add_filter( 'wp-revised-status_tracked-posttypes', function( $enabled ) { $enabled['post'] = 1; $enabled['page'] = 1; return $enabled; } ` wp-revised-status_untracked-posttypes Exactly the inverse of the previous hook. ** What you disable on this hook takes precedence to what you enable in the tracked_posttypes one. E.g.: ` function my_plugin_no_history( $disabled ) { $disabled['page'] = 1; return $disabled; } add_filter( 'wp-revised-status_untracked-posttypes', 'my_plugin_no_history' ); wp-status-revised_disable-options` If you are using the plugin inside a theme or another plugin, and want to disable the options page, you can just do: add_filter( 'wp-status-revised_disable-options', '__return_true' ) Github Github repository at plugin at https://github.com/yivi/wp-revised-status

安装:

  1. Unzip plugin's files in a folder inside /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

屏幕截图:

  • The new revision status metabox
  • Options page to enable publishing status history for registered post types.

更新日志:

0.8.1 0.7.0 0.6.2 0.6