• Resolved pao2

    (@pao2)


    Hi, how do i hook to the_content filter after Optimole has done its URL replacing, so i could make a few reversal to the URLs based on my own attribute? or what’s your recommended way to achieve this? Thanks

Viewing 1 replies (of 1 total)
  • Hello,

    We have a filter that you can use:
    add_filter( ‘optml_content_url’, ‘your_function_here’ );

    It accepts one string argument $url.
    You can use that to make any changes to the processed url.

    Let me know if this works for you.
    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Filter priority for image URL replacement’ is closed to new replies.