add_action('wp_footer', function() { if (!current_user_can('administrator')) return; global $wpdb; $results = $wpdb->get_results(" SELECT t.term_id, t.name, tt.taxonomy FROM {$wpdb->terms} t INNER JOIN {$wpdb->term_taxonomy} tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('pa_anchobanda','pa_relacion-de-aspecto','pa_diametro-de-llanta') ORDER BY tt.taxonomy, t.name "); echo ''; });
Ir al contenido