Disable the Openverse category in the new media tab in WordPress 6.2

Disable the Openverse category in the new media tab in WordPress 6.2 on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter(
	'block_editor_settings_all',
	function( $settings ) {
		$settings['enableOpenverseMediaCategory'] = false;

		return $settings;
	},
	10
);

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.