get_results("UPDATE {$wpdb->posts} SET menu_order='0' WHERE post_type='template' AND post_author='$user_id'"); } edit_post(); } elseif($_POST['action'] == 'new') { wp_write_post(); } } ?>
ID |
Title | Author | Created on | Action | ||
|---|---|---|---|---|---|---|
| =$template->ID ?> | =$template->post_title ?> | =apply_filters('the_author', $user_info->display_name) ?> | =date(get_option('date_format') . ' ' . get_option('time_format'), strtotime($template->post_date)) ?> | '>=__('New Post')?> | = __('Edit'); ?> | ID"; if (function_exists('wp_nonce_url')) { $link = wp_nonce_url($link, 'delete-post_' . $template->ID); } ?>post_title); ?>' );">=__('Delete')?> |