Articles on: Developers

Modify optimized HTML output

You can use flying_press_optimization:after filter to modify the final HTML which is optimized by FlyingPress. This modified HTML will be saved cache and served to visitors.

add_filter('flying_press_optimization:after', function($html){ /* Modify $html here */ return $html; });

Updated on: 23/11/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!