aioseo_flush_output_buffer

Purpose

This filter can be used to control whether AIOSEO flushes the output buffer after rewriting the title. You can disable this to fix conflicts with other plugins that also do output buffering at the same time.

Arguments (1)

  1. $enabled (boolean) – Whether AIOSEO should flush the output buffer after rewriting the title. Defaults to true.

Example code snippet

Implementation

You can implement this filter by simply adding it to your (child) theme’s functions.php file. You can find details on how to do this in the WPBeginner article here.  If you add code to your parent theme then it could get wiped away when you update the theme so always use a child theme.