<?php

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

class Aimo_Admin_Templates extends Aimo_Base{

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