Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

The All in One SEO Pack aioseop pre tax types setting hook.


apply_filters( ‘aioseop_pre_tax_types_setting’, $tax_types );

Parameters (1)

0.$tax_types (string)
filter the taxonomies that are displayed in the General Settings menu.


You can use this filter hook as in the following example:
add_filter( 'aioseop_pre_tax_types_setting' , 'remove_taxonomy' ); 

function remove_taxonomy( $tax_types ) {
	foreach( $tax_types as $taxonomy => $name ) {
		if( $name === 'tax name' ) {
			unset( $tax_types[$taxonomy] );
return $tax_types;

Defined (1)

The filter is defined in the following location(s).


This hook was added in version 3.0 of All in One SEO Pack.

For instructions on how to use this code, please refer to our FAQ here.

  • Was this helpful ?
  • YesNo