Support » Plugin: mqTranslate » Using $wpdb to search for translated taxonomy terms

  • How do I search for translated keywords? I am using this snippet of code which makes taxonomy terms translatable:

    add_action('admin_init', function () {
        $taxonomies = get_taxonomies(['public' => true , '_builtin' => false], "object", "or");
        if ($taxonomies) {
            foreach ($taxonomies as $taxonomy) {
                add_action( $taxonomy->name.'_add_form', 'qtrans_modifyTermFormFor');
                add_action( $taxonomy->name.'_edit_form', 'qtrans_modifyTermFormFor');
            }
        }
    });

    https://wordpress.org/plugins/mqtranslate/

  • The topic ‘Using $wpdb to search for translated taxonomy terms’ is closed to new replies.