<input type="hidden" name="post-planner-post-id" id="post-planner-post-id" value="<?php echo absint($associated_post_id); ?> " /> <input name="post-planner-visit" type="button" class="button-primary" id="post-planner-visit-post" value="<?php esc_attr_e('View Associated', 'post-planner'); ?> <?php echo $planner_post_type_object->labels->singular_name; ?> " /> </div> <?php } else { ?> <p><?php esc_html_e('Associated Post belongs to', 'post-planner'); ?> <?php echo PostPlanner_Lib::get_post_author($associated_post_id); ?> .</p> <?php } ?> <?php do_action('post_planner_after_associated_metabox'); ?> </div>