/** * Render a single row of the organizers table * * @param int $organizer_id * */ protected function single_post_dropdown($linked_post_id) { $linked_post_type_container = $this->linked_posts->get_post_type_container($this->post_type); $linked_post_type_id_field = $this->linked_posts->get_post_type_id_field_index($this->post_type); ?> <tr class="saved-linked-post"> <td style="width:170px"><?php $this->move_handle(); ?> <label data-l10n-create-<?php echo esc_attr($this->post_type); ?> ="<?php printf(esc_attr__('Create New %s', 'the-events-calendar'), $this->singular_name); ?> "><?php printf(esc_html__('Use Saved %s:', 'the-events-calendar'), $this->singular_name); ?> </label> </td> <td><?php $this->linked_posts->saved_linked_post_dropdown($this->post_type, $linked_post_id); $this->edit_post_link($linked_post_id); if (!empty($this->linked_posts->linked_post_types[$this->post_type]['allow_multiple'])) { $this->delete_handle(); } ?> </td> </tr> <?php }