how can I disable GP Site Library on live website?
I appreciate the feature very much, but I just want to prevent anyone from accidentally importing a new demo site once we’re live.
I just updated and saw the new Sites. I tried following your instructions to disable it and nothing has changed. I’m using Code Snippets. Here’s the code I built from your example.
add_filter( 'generate_disable_site_library', 'johlor_no_sites' );
function johlor_no_sites()
{
return 'true';
}