Tips on Customizing URL Shortify – Simple, Powerful and Easy URL Shortener Plugin For WordPress

How to Hide URL Shortify Admin Menus

function plt_hide_url_shortify_menus() {
	//Hide "URL Shortify".
	remove_menu_page('url_shortify');
	//Hide "URL Shortify → Dashboard".
	remove_submenu_page('url_shortify', 'url_shortify');
	//Hide "URL Shortify → Links".
	remove_submenu_page('url_shortify', 'us_links');
	//Hide "URL Shortify → Groups".
	remove_submenu_page('url_shortify', 'us_groups');
	//Hide "URL Shortify → Tools".
	remove_submenu_page('url_shortify', 'us_tools');
	//Hide "URL Shortify → Settings".
	remove_submenu_page('url_shortify', 'kc-us-settings');
	//Hide "URL Shortify → Contact Us".
	remove_submenu_page('url_shortify', 'url_shortify-contact');
	//Hide "URL Shortify → Support Forum".
	remove_submenu_page('url_shortify', 'url_shortify-wp-support-forum');
	//Hide "URL Shortify → Upgrade".
	remove_submenu_page('url_shortify', 'url_shortify-pricing');
}

add_action('admin_menu', 'plt_hide_url_shortify_menus', 1000000000);

Where do I put this code?

How to Hide the "👉&nbspShort Link [URL Shortify]" Meta Box

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

	//Hide the "👉&nbspShort Link [URL Shortify]" meta box.
	remove_meta_box('url-shortify', $screen->id, 'side');
}

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

How to Hide the "URL Shortify Quick Add" Dashboard Widget

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

	//Remove the "URL Shortify Quick Add" widget.
	remove_meta_box('url_shortify_dashboard_widget', 'dashboard', 'normal');
}

add_action('wp_dashboard_setup', 'plt_hide_url_shortify_dashboard_widgets', 20);