taxonomies as $taxonomy ) { if ( 'category' === $taxonomy ) { // Adds the language column in the 'Terms' table. add_filter( 'pll_first_language_term_column', array( $this, 'first_language_column' ), 10, 2 ); } } } /** * Identifies the default term in the terms list table to disable the language dropdown in JS. * * @since 3.7 * * @param string $out The output. * @param int $term_id The term id. * @return string The HTML string. */ public function first_language_column( $out, $term_id ) { if ( $this->is_default_term( $term_id ) ) { $out .= sprintf( '