Forum Replies Created
-
In reply to: Embed media cannot be switched off
Thanks again!
Yes, problem is fixed and I will definitely do a test with 2025 and the plugins – I am also curious about this topic.
I will write again, if I find something
In reply to: Embed media cannot be switched offadded the code, it works
but still astonished how something like this effect can happen
In reply to: Embed media cannot be switched offok, but this will take some time. Currently working in production environment, I have to set up a staging environment and not sure if this works due to memberpress, stripe/paypal connection and so on
Question: thinking about deactivate Auto-Embeds in WordPress completely with some code – what do you think?
add_action( ‘init’, function() {
global $wp_embed;
if ( $wp_embed instanceof WP_Embed ) {remove_filter( ‘the_content’, array( $wp_embed, ‘autoembed’ ), 8 );
remove_filter( ‘the_content’, array( $wp_embed, ‘run_shortcode’ ), 8 );
}add_filter( ’embed_oembed_discover’, ‘__return_false’ );
add_filter( ‘pre_oembed_result’, ‘__return_false’ );if ( function_exists( ‘remove_filter’ ) ) {
remove_filter( ‘bbp_get_topic_content’, ‘bbp_topic_content_autoembed’, 2 );
remove_filter( ‘bbp_get_reply_content’, ‘bbp_reply_content_autoembed’, 2 );
}
}, 20);In reply to: Embed media cannot be switched offI use Tove from Anders Noren and of course with a child theme
what do you mean with customized functions? I have a lot of code in my functions.php, but mainly for my customized loops, favorites plugin, styling comment function (not visible for not-logged-in users), Text to speech plugin, memberpress
nothing with embedded objects
In reply to: Embed media cannot be switched offjust some additional information: because I use a FSE theme I installed the plugin Enable bbPress for Block Themes
In reply to: Embed media cannot be switched offcorrect!
I can make a quick video to show, but not sure how to upload
In reply to: Embed media cannot be switched offI unticked nearly every option and it all works fine
I use wordpress for a long time and I never saw something like this. Perhaps it has to do with Borlabs Cookies?? I am very restrictive with cookies and scripts, I have only the absolutely necessary stuff (as said… GDPR)
In reply to: Embed media cannot be switched offsorry, no native speaker
1) I untick
2) I save
3) it is ticked again