generate_sidebars

Note: This hook has been removed starting in GeneratePress 2.0 as it was causing a PHP bottleneck and hurting performance.

If you’re using a child theme with custom page templates, you will need to replace this hook with the new generate_after_primary_content_area hook, and add the sidebars function. You can see these new elements by viewing the page.php file in 2.0.

Of course, we kept backward compatibility so your sidebars won’t disappear when you update.