<?php

if( !defined( 'ABSPATH' ) )
	exit; 

class Solarva_Admin_Templates extends Solarva_Base{

	public function __construct() {
		$this->add_action( 'admin_menu', 'register_page', 20 );
	}
 
	public function register_page() {
		add_submenu_page(
			'pxlart',
		    esc_html__( 'Templates', 'solarva' ),
		    esc_html__( 'Templates', 'solarva' ),
		    'manage_options',
		    'edit.php?post_type=pxl-template',
		    false
		);
	}
}
new Solarva_Admin_Templates;
