bool .. whether or not to show the taxonomy selector */ public function __construct( $taxonomy = '', $args = array() ) { $this->tax_selector = isset( $args['taxonomy_selector'] ) ? $args['taxonomy_selector'] : true; $this->taxonomy = $taxonomy ? $taxonomy : false; if ( $taxonomy ) { $this->taxonomy_obj = get_taxonomy( $taxonomy ); } } /** * Echos the HTML that serves as an entry point for the taxonomy translation * screen and enqueues necessary js. */ public function render() { WPML_Taxonomy_Translation_Table_Display::enqueue_taxonomy_table_js(); $output = '