I'm trying to get the sidebar HTML output to filter the
<img> tags and change its
src attributes, but I couldn't so far.
I tried with this code inside of
dynamic_sidebar filter hook, but didn't work:
ob_start(); dynamic_sidebar( $sidebar['id'] ); $sidebar_html = ob_get_contents(); ob_end_clean();
Does anyone knows how to do it? Thanks.