]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/inline.pm
change plugin interface to use named parameters for flexability
[ikiwiki.git] / IkiWiki / Plugin / inline.pm
index c554774f6c23f1257d63a46bad8376d2e7eee82b..61b4a8523f2dfaf9156238b0ab54adedc9f77b42 100644 (file)
@@ -7,7 +7,8 @@ use strict;
 use IkiWiki;
 
 sub import { #{{{
-       IkiWiki::register_plugin("preprocess", "inline", \&IkiWiki::preprocess_inline);
+       IkiWiki::hook(type => "preprocess", id => "inline", 
+               call => \&IkiWiki::preprocess_inline);
 } # }}}
 
 # Back to ikiwiki namespace for the rest, this code is very much