First up let’s add As an example my Plugin is called Puri. Replace that with your Plugin name. First up let’s add the following to the puri.php (yourplugin.php) file in the first level.
define( 'PURI_PATH', plugin_dir_path( __FILE__ ) );
Once defined let’s register the WordPr ess menu. Go inside the admin folder and find