Home / Admin / Change Location Taxonomy Options When its Registered
Duplicate Snippet

Embed Snippet on Your Site

Change Location Taxonomy Options When its Registered

This filter can be used to change the taxonomy option to ‘hierarchical’

<10
Code Preview
php
<?php
add_filter( 'aioseo_local_business_taxonomy', 'aioseo_change_local_business_taxonomy' );
function aioseo_change_local_business_taxonomy( $taxonomy ) {
	$taxonomy['hierarchical'] = true;
	return $taxonomy;
}

Comments

Add a Comment