From 720087940f106be8cd01e7ba0003669f5bae2154 Mon Sep 17 00:00:00 2001 From: Stefan Bohacek Date: Sat, 28 Apr 2018 18:02:19 -0400 Subject: [PATCH] Show Link Shortcodes box when editing bots. --- includes/show-post-id.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/show-post-id.php b/includes/show-post-id.php index b97477a..3db8455 100644 --- a/includes/show-post-id.php +++ b/includes/show-post-id.php @@ -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'); } }