ims_tag_taxonomy

Description

The “ims_tag_taxonomy” filter is used to modify/extend the custom tag taxonomy registration array. View register_taxonomy() for more information on the array values.

A plugin (or theme) can modify the array with the code:

<?php add_filter( 'ims_tag_taxonomy', 'filter_function_name' ); ?>

The hook is located in the image-store/_inc/core.php file.

Example

// Apply filter
function modify_ims_tag_taxonomy( $taxonomy_array ) {
	$taxonomy_array['show_tagcloud'] = true; // show taxonomy in tag cloud
	return $taxonomy_array; 
}
add_filter('ims_tag_taxonomy', 'modify_ims_tag_taxonomy');

Note:  $taxonomy_array is an multidimensional array that must match taxonomy registration values.


Leave a Reply

Your email address will not be published. Required fields are marked *