post_categories_meta_box
post_categories_meta_box ( $post, $box )
Parameters:- (WP_Post) post Current post object.
- (array) box {
Categories meta box arguments.
@type string $id Meta box 'id' attribute.
@type string $title Meta box title.
@type callable $callback Meta box display callback.
@type array $args {
Extra meta box arguments.
@type string $taxonomy Taxonomy. Default 'category'.
}
}
Defined at: - Introduced in WordPress: 2.6.0
- Deprecated in WordPress: —
Description
Displays post categories form fields.