Tips on Customizing Featured Image from URL | FIFU

How to Hide Featured Image from URL | FIFU Admin Menus

function plt_hide_featured_image_from_url_menus() {
	//Hide the "Featured Image from URL" menu.
	//Hide the "Featured Image from URL → Settings" menu.
	remove_submenu_page('featured-image-from-url', 'featured-image-from-url');
	//Hide the "Featured Image from URL → Status" menu.
	remove_submenu_page('featured-image-from-url', 'fifu-support-data');

add_action('admin_menu', 'plt_hide_featured_image_from_url_menus', 11);

Where do I put this code?

How to Hide the "Featured image" Meta Box

function plt_hide_featured_image_from_url_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {

	//Hide the "Featured image" meta box.
	remove_meta_box('imageUrlMetaBox', $screen->id, 'side');

add_action('add_meta_boxes', 'plt_hide_featured_image_from_url_metaboxes', 20);