Show menu order field in quick edit

The below code will help others to achieve the above task. <?php add_action( ‘wp_ajax_update_menu_order’, ‘update_menu_order’ ); add_action( ‘wp_ajax_nopriv_update_menu_order’, ‘update_menu_order’ ); function update_menu_order() { global $wpdb; $table_name = $wpdb->prefix.”posts”; $menu_order = $_POST[‘menu_order’]; $data = $_POST[‘post_id’]; $post_id = substr($data, strpos($data, “-“) + 1); $result = $wpdb->query($wpdb->prepare(“UPDATE $table_name SET menu_order=”$menu_order” WHERE ID=$post_id”)); echo $result; wp_die(); // this is … Read more

Show shipping class in admin order list

With a short Google, I was able to quickly find a solution. Please see this link to find other order item information that you could also use! This link is where I found the original code and edited to suit the OP’s requirements. function anakeme_columns_shipping_class( $columns ) { $columns[‘shipping_class’] = ‘Shipping Class’; return $columns; } … Read more