Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

create-wordpress-plugin-template

This bash script creates a empty plugin template for WordPress

To run this script:

$ create-wp-plugin.sh

Welcome, you are about to create a WordPress Plugin Template

Enter the name of the plugin you want to create in lowercase (e.g., myfoo-plugin) ==> test-plugin

Directory test-plugin created

File test-plugin/test-plugin.php created

File test-plugin/uninstall.php created

File test-plugin/index.php created

Directory test-plugin/languages created

File test-plugin/languages/index.php created

Directory test-plugin/includes created

File test-plugin/includes/index.php created

Directory test-plugin/admin created

File test-plugin/admin/admin-test-plugin.php created

File test-plugin/admin/index.php created

Directory test-plugin/admin/js created

File test-plugin/admin/js/admin-test-plugin.js created

Directory test-plugin/admin/css created

File test-plugin/admin/css/admin-test-plugin.css created

Directory test-plugin/admin/images created

Directory test-plugin/public created

File test-plugin/public/index.php created

File test-plugin/public/public-test-plugin.php created

Directory test-plugin/public/js created

File test-plugin/public/js/public-test-plugin.js created

Directory test-plugin/public/css created

File test-plugin/public/css/public-test-plugin.css created

Directory test-plugin/public/images created

$