add_filter('wpforo_content_after', function( $content ){ return preg_replace_callback( '#<]*\sclass=[\'\"](?:[^\'\"]*\s)?wpforo-default-attachment(?:\s[^\'\"]*)?[\'\"][^><]*\shref=[\'\"]([^\"\']+)[\'\"][^><]*>.*?#isu', function( $match ){ $html = $match[0]; $file = $match[1]; $pathinfo = pathinfo( $file ); if( wpforo_is_image($pathinfo['extension']) ) { $html = sprintf( '%2$s', esc_url($file), esc_attr($pathinfo['basename']) ); } return $html; }, $content ); }, 11);
20 Thankful Quotes

20 Thankful Quotes

Thankfulness Quotes to Live By Have you had the time to reflect on everything that’s happening in your life recently? With all the stress and anxiety the pandemic has given us, we seldom consider taking a moment to breathe and think about how thankful we are to...