[wp-testers] Plugging the Gallery tag...
Steve Lam
steve at stevelam.org
Thu Mar 27 19:27:58 GMT 2008
The function "gallery_shortcode" in wp-includes/media.php handles the
gallery generation. You can override the gallery by using the filter
"post_gallery".
-Steve
On Mar 27, 2008, at 8:40 AM, Steve wrote:
> Hey, I've been looking through a lot of source code and documentation
> looking for the code that handles the [gallery] tag, and I can't
> seem to
> find it. what php file handles this, and what kind of hooks are
> available
> for plugins? I'd like to mess around with simple plugins that add
> pages to
> galleries after a user-defined number of thumbnails and things like
> that.
> I'd also be interested in helping get some documentation up on the
> topic
> (since I don't think you have any yet).
>
> Any info you could give me on this would be great. Thanks!
> -Steve
> http://stevish.com
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
More information about the wp-testers
mailing list