• Hi,

    We have the gallery_style hook filter that let me remove the gallery style. But, if I apply a function to remove that style, I remove the opening gallery div too.

    Look the code:

    [...]
    <div id='$selector' class='gallery galleryid-{$id}'>");

    wp-includes/media.php. Line 756

    What about to apply the gallery_style filter just in gallery style not in HTML markup?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘About the gallery_style hook filter’ is closed to new replies.