function pre_render_editor($inline) { ?> <div class="wrap" id="js-dd-layout-editor"> <?php if (WPDDL_DEBUG) { ?> Last edited at: <?php echo WPDD_Layouts::get_toolset_edit_last_in_readable_format($this->layout_id); ?> <?php } ?> <?php $post = $this->post; if (!$inline) { include_once 'templates/editor_header_box.tpl.php'; } }