Cool, good to know. Wish you guys also made a Code Snippets tool and/or added similar functionality to your GP Premium. Great products you have!
In case it helps anyone else looking to do this, I used the Code Snippets plugin to hide the sidebar on static pages if the url parameter &myparam=myvalue is set:
add_filter( 'generate_sidebar_layout', function( $layout ) {
$var = $_GET["myparam"];
if (
$var === "myvalue"
&&
is_page()
) {
return 'no-sidebar';
}
return $layout;
} );