Skip to content

Commit

Permalink
Show Link Shortcodes box when editing bots.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbohacek committed Apr 28, 2018
1 parent a48f47e commit 7200879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/show-post-id.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function show_post_id() {
}

public function show_post_id_meta_box( $post_type ) {
if ( in_array( $post_type, array( 'post', 'resource' ) ) ){
if ( in_array( $post_type, array( 'post', 'bot', 'resource' ) ) ){
add_meta_box('projects_refid', 'Link shortcodes', array( $this, 'show_post_id' ), $post_type, 'side', 'high');
}
}
Expand Down

0 comments on commit 7200879

Please sign in to comment.