|
@@ -90,8 +90,10 @@ |
|
90
|
90
|
'_pll' => true, // Polylang taxonomy. |
|
91
|
91
|
) |
|
92
|
92
|
); |
|
93
|
93
|
|
|
94
|
+ $this->add_sanitization_hooks( $this->tax_language ); |
|
95
|
+ |
|
94
|
96
|
add_action( 'setup_theme', array( $this, 'add_language_taxonomy_query_var' ) ); |
|
95
|
97
|
} |
|
96
|
98
|
|
|
97
|
99
|
/** |