i’ve searched and searched on the forum, but every admin response seems to avoid answering the actual question. (which I can partially understand, as the response could be detrimental to the inexperienced)
so, the question is… how do you safely and accurately clean out PRO, X & cornerstone entries in the database? as in, which meta_keys are SPECIFIC to those 3 items?
while we’re happily using Pro (and X) on dozens of websites, we migrated one of our shops to a much more advanced, Woocommerce theme.
our postmeta table is nearly 1gb in size (which kinda makes sense, as we have ~66k orders and ~45k customers)… but, i really need to trim some fat here.
Can you add/remove/help me build this list? Do you have ANYWHERE on your site that has this type of info, without having to look through the code for these themes/plugins?
_x_%
_cornerstone_%
_cs_generated%
_cs_template%
_cs_attachment%
_cs_preset%
x_demo_content
put that together, and you’ll get this:
select * from `wp_postmeta` where (meta_key like '_x_%') or (meta_key like '_cornerstone_%') or (meta_key like '_cs_generated%') or (meta_key like '_cs_template%') or (meta_key like '_cs_attachment%') or (meta_key like '_cs_preset%') or (meta_key like 'x_demo_content');
but, i’m fairly confident that i’m missing something here.