BBP_Replies_Admin::author_metabox()
Add the author info meta-box
Description Description
Allows editing of information about an author
Source Source
File: includes/admin/replies.php
public function author_metabox() {
// Bail if post_type is not a reply
if ( empty( $_GET['action'] ) || ( 'edit' !== $_GET['action'] ) ) {
return;
}
// Add the meta-box
add_meta_box(
'bbp_author_metabox',
esc_html__( 'Author Information', 'bbpress' ),
'bbp_author_metabox',
$this->post_type,
'side',
'high'
);
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |