Title: Documentation for setting up plugin?
Last modified: March 1, 2021

---

# Documentation for setting up plugin?

 *  Resolved [SBfoto](https://wordpress.org/support/users/256studio/)
 * (@256studio)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/documentation-for-setting-up-plugin/)
 * where can I find Documentation for setting up the plugin setup? I’m getting this
   error when trying to upload a plugin.
    **Choose Proudct to add license code**
   Your uploading plugin’s or themes slug(or menu slug) must be the same as the 
   product’s base/slug ( which is: USer Role ) if it mismatches, then the licensed
   plugin or theme won’t work properly You can change it in the product edit panel

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [appsbd](https://wordpress.org/support/users/appsbd/)
 * (@appsbd)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/documentation-for-setting-up-plugin/#post-14182163)
 * in plugin header just add a header named **Text Domain**, We have added this 
   check to confirm the slug. However we will remove this checking in future version.
   Other documentation you will get into the plugin. And also visit our YouTube 
   channel ([Appsbd YouTube](https://www.youtube.com/playlist?list=PLYrwO-EqSMNugVuGmM1GY2WuHo5bDNmkp)).
   If possible to subscribe to get upcoming video.
 * An example of plugin header is given below:
 *     ```
       /**
        * Plugin Name:       My Basics Plugin
        * Plugin URI:        https://example.com/plugins/the-basics/
        * Description:       Handle the basics with this plugin.
        * Version:           1.10.3
        * Requires at least: 5.2
        * Requires PHP:      7.2
        * Author:            John Smith
        * Author URI:        https://author.example.com/
        * License:           GPL v2 or later
        * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
        * Text Domain:       my-basics-plugin
        * Domain Path:       /languages
        */
       ```
   
    -  This reply was modified 5 years, 2 months ago by [appsbd](https://wordpress.org/support/users/appsbd/).
 *  Plugin Author [appsbd](https://wordpress.org/support/users/appsbd/)
 * (@appsbd)
 * [5 years ago](https://wordpress.org/support/topic/documentation-for-setting-up-plugin/#post-14478978)
 * //resolved

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Documentation for setting up plugin?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/elite-licenser-lite_9b80f4.svg)
 * [Elite Licenser Lite - Software License Key Manager](https://wordpress.org/plugins/elite-licenser-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elite-licenser-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elite-licenser-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/elite-licenser-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elite-licenser-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elite-licenser-lite/reviews/)

## Tags

 * [slug](https://wordpress.org/support/topic-tag/slug/)

 * 2 replies
 * 2 participants
 * Last reply from: [appsbd](https://wordpress.org/support/users/appsbd/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/documentation-for-setting-up-plugin/#post-14478978)
 * Status: resolved