Tips on Customizing Templately – Gutenberg & Elementor Template Library: 5000+ Free & Pro Ready Templates & Cloud!

How to Hide Templately Admin Menus

function plt_hide_templately_menus() {
	//Hide the "Templately" menu.
	//Hide the "Templately → Template Library" menu.
	remove_submenu_page('templately', 'templately');
	//Hide the "Templately → Theme Builder" menu.
	remove_submenu_page('templately', 'edit.php?post_type=templately_library');

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

Where do I put this code?

How to Hide the "Post Attributes" Meta Box

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

	//Hide the "Post Attributes" meta box.
	remove_meta_box('pageparentdiv', $screen->id, 'side');

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