mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
https://make.wordpress.org/core/2023/03/07/miscellaneous-editor-changes-in-wordpress-6-2/
9 lines
152 B
Text
9 lines
152 B
Text
add_filter(
|
|
'block_editor_settings_all',
|
|
function( $settings ) {
|
|
$settings['enableOpenverseMediaCategory'] = false;
|
|
|
|
return $settings;
|
|
},
|
|
10
|
|
);
|