How to create a Theme Activation Page in WordPress

We are uploading many premium themes of WordPress Many require activation code after installing premium themes. After giving the activation code, the theme is activated. Today we will learn how to create a WordPress theme activation page. People who create themes create such custom pages for their clients You may have questions in your mind, how did it? I had such a question. So I got his answer today. I am sharing the answer to my question with you. Below are some codes, this code should be put in your WordPress theme and functions.php file. Setting this code will work as a custom page for activation for your theme.