The term_id field of the wp_termmeta table maps to the term_id field of the wp_terms table.
By the Web Warlock, Sunday, 9/May/2010 21:48
Description of the function init_term_meta_cache located in the file wp-content/plugins/zyx-term-meta/includes / term-meta-cache.php of the plugin ZYX Term Meta. Uses the plugins_loaded hook, the wp_cache_get, wp_cache_set and wp_parse_args functions, the methods $wpdb->get_results and $wpdb->prepare, and the $wpdb->prefix property of object $wpdb, mapping to fields term_id, meta_key and meta_value. Calls add_action at priority 1.
<?php init_term_meta_cache(); ?>
347 queries. 0.462 seconds. Powered by WordPress
Code is magic