Tips on Customizing WP-Recall – Registration, Profile, Commerce & More

How to Hide WP-Recall Admin Menus

function plt_hide_wp_recall_menus() {
	//Hide "WP-RECALL".
	remove_menu_page('manage-wprecall');
	//Hide "WP-RECALL → Dashboard".
	remove_submenu_page('manage-wprecall', 'manage-wprecall');
	//Hide "WP-RECALL → SETTINGS".
	remove_submenu_page('manage-wprecall', 'rcl-options');
	//Hide "WP-RECALL → Repository".
	remove_submenu_page('manage-wprecall', 'rcl-repository');
	//Hide "WP-RECALL → Add-ons".
	remove_submenu_page('manage-wprecall', 'manage-addon-recall');
	//Hide "WP-RECALL → Templates".
	remove_submenu_page('manage-wprecall', 'manage-templates-recall');
	//Hide "WP-RECALL → Tabs manager".
	remove_submenu_page('manage-wprecall', 'rcl-tabs-manager');
	//Hide "WP-RECALL → Profile fields".
	remove_submenu_page('manage-wprecall', 'manage-userfield');
	//Hide "WP-RECALL → Form of publication".
	remove_submenu_page('manage-wprecall', 'manage-public-form');
}

add_action('admin_menu', 'plt_hide_wp_recall_menus', 31);

Where do I put this code?

How to Hide WP-Recall Meta Boxes

function plt_hide_wp_recall_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Hide the "WP-Recall settings" meta box.
	remove_meta_box('recall_meta', $screen->id, 'normal');
	//Hide the "Arbitrary fields of  publication" meta box.
	remove_meta_box('custom_fields_editor_post', $screen->id, 'normal');
}

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