post_revisions_meta_box

函式
post_revisions_meta_box ( $post )
引數
  • (WP_Post) $post Current post object.
    Required:
定義位置
相關方法
post_custom_meta_boxpost_submit_meta_boxpost_slug_meta_boxpost_tags_meta_boxpost_comment_meta_box
引入
2.6.0
棄用
-

post_revisions_meta_box是一個WordPress函式,用於生成顯示和管理文章修訂的元框。它接受兩個引數:$post(文章物件)和$box(元框陣列)。

顯示修訂列表。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function post_revisions_meta_box( $post ) {
wp_list_post_revisions( $post );
}
function post_revisions_meta_box( $post ) { wp_list_post_revisions( $post ); }
function post_revisions_meta_box( $post ) {
	wp_list_post_revisions( $post );
}

常見問題

FAQs
檢視更多 >