?php
/*
 * Plugin Name:       Test Plugins

 * Description:       Handle the basics with this plugin.
 * Version:           1.10.3
 
 */
 
 
 /**
 * Register the "book" custom post type
 */
function pluginprefix_setup_post_type() {
	register_post_type( 'book', ['public' => true ] ); 
} 
add_action( 'init', 'pluginprefix_setup_post_type' );


/**
 * Activate the plugin.
 */
function pluginprefix_activate() { 
	// Trigger our function that registers the custom post type plugin.
	pluginprefix_setup_post_type(); 
	// Clear the permalinks after the post type has been registered.
	flush_rewrite_rules(); 
}
register_activation_hook( __FILE__, 'pluginprefix_activate' );


/**
 * Deactivation hook.
 */
function pluginprefix_deactivate() {
	// Unregister the post type, so the rules are no longer in memory.
	unregister_post_type( 'book' );
	// Clear the permalinks to remove our post type's rules from the database.
	flush_rewrite_rules();
}
register_deactivation_hook( __FILE__, 'pluginprefix_deactivate' );
 
 ?><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://satyam.arnvix.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://satyam.arnvix.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://satyam.arnvix.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://satyam.arnvix.com/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://satyam.arnvix.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://satyam.arnvix.com/wp-sitemap-taxonomies-product_brand-1.xml</loc></sitemap><sitemap><loc>https://satyam.arnvix.com/wp-sitemap-taxonomies-product_cat-1.xml</loc></sitemap><sitemap><loc>https://satyam.arnvix.com/wp-sitemap-taxonomies-pa_pizza-size-1.xml</loc></sitemap><sitemap><loc>https://satyam.arnvix.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
