Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1294359

    Hi,

    can you give an example how the filter works?

    thx
    Chris

    #1294693

    Hey Christian,

    Thank you for the inquiry.

    The filter should return a string containing the width and height attribute of the image. Example.

    add_filter("avf_logo_dimension", function($dimension) { 
       $dimension = "height='200' width='600'";
       return $dimension;
    }, 10, 1);
    

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.