Home / Disable Openverse
Duplicate Snippet

Embed Snippet on Your Site

Disable Openverse

Disable the Openverse integration for the media inserter.

30+
Code Preview
php
<?php
add_filter( 'block_editor_settings_all', function( $settings, $context ) {
	$settings['enableOpenverseMediaCategory'] = false;
	return $settings;
}, 10, 2 );

Comments

Add a Comment