<h1> Why does WordPress recognize a PHP file as a plugin? </h1><br><b>Ans: because of the name of plugin which present in the header data<b/><br><h1>What happens when you activate a plugin? </h1><br><b>Ans: the data of code which i wrote in code its appear and exciuted in wordpress<b/><br><h1>Why is echo directly inside the main plugin file considered bad practice? </h1><br><b>Ans: its because the echo directly print in frontend and executed .. and as developer we dont want like that that why in wordpress hooks is here<b/><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://designsfocus.co.uk/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://designsfocus.co.uk/wp-sitemap-posts-page-1.xml</loc></sitemap></sitemapindex>
