private function get_expected_base($taxonomy)
{
$taxonomies = ['category' => 'category_base', 'post_tag' => 'tag_base'];
if (!isset($taxonomies[$taxonomy])) {
return FALSE;
}
$option = get_option($taxonomies[$taxonomy]);
if (!$option) {
return FALSE;
}
return $option . '/%' . $taxonomy . '%';
}