There are many ways to do this. I do it like this:
Create a action_handler_display_{type} function.
Put all your stuff in there, and when its done just exit;
On Mar 7, 2009, at 8:19 AM, Andrew Rickmann wrote:
>
> Hi,
>
> I can't quite figure out how to do this so I am hoping someone can
> give me some direction.
>
> I have a plugin that creates a new post type.
>
> I want to intercept the act_display request for posts of that type and
> redirect them elsewhere leaving everything else operating normally.
>
> From within the theme it would be easy but I am not sure how to go
> about it from within a plugin.
>
> Thanks
>
> Andrew
>
> >
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---