Disable the admin bar for All in One SEO

Disable the admin bar for All in One SEO on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'aioseo_show_in_admin_bar', 'aioseo_disable_admin_bar' );

function aioseo_disable_admin_bar( $enabled ) {
   return false;
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.