{"id":22379,"date":"2025-11-06T11:43:23","date_gmt":"2025-11-06T14:43:23","guid":{"rendered":"https:\/\/wpclub.pro\/?post_type=product&#038;p=22379"},"modified":"2025-11-06T11:44:38","modified_gmt":"2025-11-06T14:44:38","slug":"mb-custom-table","status":"publish","type":"product","link":"https:\/\/wpclub.pro\/en\/item\/mb-custom-table\/","title":{"rendered":"MB Custom Table 2.3.0"},"content":{"rendered":"<div data-elementor-type=\"product-post\" data-elementor-id=\"22379\" class=\"elementor elementor-22379\" data-elementor-post-type=\"product\">\n\t\t\t\t<div class=\"wd-negative-gap elementor-element elementor-element-5b3bc96c e-flex e-con-boxed e-con e-parent\" data-id=\"5b3bc96c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7be1acc2 color-scheme-inherit text-left elementor-widget elementor-widget-text-editor\" data-id=\"7be1acc2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>MB Custom Table<\/h2><p>MB Custom Table is an extension of the Meta Box plugin that helps you save data in a custom table instead of the default post\/user\/term meta table. All meta values are saved in a single row, and each column serves as a meta key.<\/p><p>This reduces the number of rows in the database, which can cause performance issues as data grows. It also allows you to keep all your data in one place, so you can easily view, edit, import, and export it.<\/p><h3>Why use MB Custom Table?<\/h3><p>By default, WordPress uses metatables to store metadata (custom fields). To accommodate a wide range of needs, WordPress uses a flexible database structure, where each custom field is stored as a row with four columns. While this seems fine initially, as your data grows, the number of rows in the database increases very quickly.<\/p><p>Let&#039;s take an example: if you are using WooCommerce, each order (a custom post type) requires more than 40 custom fields as follows.<\/p><h3><strong>What if we could store all the custom fields in a single row?\u00a0<\/strong><\/h3><p>Something like in the first screenshot, where each custom field occupies only one column in the database. Therefore, in the case of WooCommerce orders, you only have 600 rows in the database for 600 orders. Furthermore, all the information for a single post can be viewed at once.<\/p><h3>Benefits of the method<\/h3><ul><li>The size of your database will be reduced<\/li><li>Since all the data from the custom fields is in the same row, your query will be faster and simpler.<\/li><li>You can view all the data at once using any database management tool<\/li><li>You can export all the data more easily by exporting only one table<\/li><\/ul><p>To achieve these goals, the MB Custom Table extension is all you need.<\/p><p>MB Custom Table provides a simple API for creating custom tables and storing custom fields within them. It works with all field types from the Meta Box plugin, as well as all meta types (post, user, term). The extension uses a simple syntax for defining the table, so you won&#039;t need to change your meta box definition.<\/p><h3>Features of MB Custom Table<\/h3><ul><li>Use WordPress&#039;s recommended method for creating custom tables, allowing you to update the table structure at any time.<\/li><li>It provides a simple API for defining the table structure.<\/li><li>It works with any type of meta: post meta, user meta, term meta, comment meta.<\/li><li>It provides an easy way to integrate with your existing meta boxes.<\/li><li>It supports the creation of custom models that combine the publication and the publication metatable into one.<\/li><\/ul><p>Get MB Custom Table now.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>MB Custom Table MB Custom Table\u00a0es una extensi\u00f3n del complemento\u00a0Meta Box\u00a0que lo ayuda a\u00a0guardar datos en una tabla personalizada en<\/p>","protected":false},"featured_media":87426,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false},"product_brand":[],"product_cat":[67],"product_tag":[70],"class_list":["post-22379","product","type-product","status-publish","has-post-thumbnail","product_cat-wordpress-plugins","product_tag-plugins-para-campos-personalizados","pa_autores-meta-box","first","instock","sale","downloadable","virtual","sold-individually","purchasable","product-type-simple"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/product\/22379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/comments?post=22379"}],"version-history":[{"count":0,"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/product\/22379\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/media\/87426"}],"wp:attachment":[{"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/media?parent=22379"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/product_brand?post=22379"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/product_cat?post=22379"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/wpclub.pro\/en\/wp-json\/wp\/v2\/product_tag?post=22379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}