-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External Media: add toggle for feature in Jetpack settings #41755
Comments
OpenAI suggested the following labels for this issue:
|
While there isn't a way to do it via a toggle right now, you can add this code snippet to your theme's add_filter( 'jetpack_tools_to_include', function( $tools ) {
$index = array_search( 'external-media/external-media.php', $tools, true );
if ( $index ) {
unset( $tools[$index] );
}
return $tools;
} ); |
Wow, I really appreciate that @jeherve! However, it didn't make any difference for us. Are you sure the code is correct/complete? Thanks. |
I got a bit ahead of myself, sorry about that! This code snippet currently only works when using the development or beta version of the plugin. You'll need to wait until the next Jetpack release for it to work on your site. |
Oh, I see. No worries, thanks! I'll wait. |
Impacted plugin
Jetpack
What
Jetpack is a multi-purpose plugin, so every feature it offers should be modular
How
I'm creating this issue based on the discussion here: https://wordpress.org/support/topic/how-to-disable-the-menu-for-featured-images/
After installing Jetpack 14.3, I noticed a new menu with a few options when we click a post's featured image: https://d.pr/i/s6Ghar
I don't use and am not interested in any of those. Thus, Jetpack is making us click twice to get to the same place we used to get before with one click (WordPress' native media gallery). We should be able to disable this feature.
The text was updated successfully, but these errors were encountered: