Specifying CCK Field for Filter Processing In Drupal 6, I have a custom filter, and I would like it to process a field other than the body field, depending on the content type. Is it possible to have it process other fields? 

For example, for a page I'd like hook_filter() to be passed the body field as $text, but for a custom content type, I'd like it to be passed a different field. Is this possible?
It is not possible.
An implementation of hook_filter() is invoked not only for nodes, but also for comments, CCK fields, etc. When it is invoked, the hook doesn't know in which case it is being called, and it only gets the content of the text that needs to be filtered; it cannot understand from that if the text is the body of a node, or it is the content of a comment, nor does it get a reference to the object containing the text that needs to be altered.

The function that calls the implementations of hook_filter() is check_markup(), which is then called by other functions, such as:


profile_view_field()
theme_comment_view()
user_comment()


As you can see, the input filters are called by user_comment() for rendering the signature of the user, and another module could use the input filters for rendering text for which an administrator user decides which input format users can use.