Forums / Cotonti / Support / Using Tags in Plugins

Trustmaster
#23760 2010-03-25 04:44
You are also damn right about arrays :) There an array $tag_areas, you can extend it with your own search this way:
hook into 'tags.first':
$tag_areas[] = 'files';
function sed_tag_search_files($query)
{
    // Perform the search
}
See examples of such functions in tags/inc/functions.php
May the Source be with you!