Instantly share code, notes, and snippets.
If I want this to work on a multisite install, what do I do?
Say I want no Jetpack Modules auto-activated?
add_filter( 'jetpack_get_default_modules', '__return_empty_array' );
Is the code above correct for Multisite, and where do I place this code?
Thank you.
Sorry, something went wrong.
If I want this to work on a multisite install, what do I do?
Say I want no Jetpack Modules auto-activated?
add_filter( 'jetpack_get_default_modules', '__return_empty_array' );
Is the code above correct for Multisite, and where do I place this code?
Thank you.