I wamt to remove add media button from wordpress editor using function.php file. I have use this code in function.php file. add_filter( ‘wp_editor_settings’, function($settings) { $settings[‘media_buttons’]=FALSE; return $settings; });
Home/wordpress tips