Abstract class with support for:
* Activate, deactivate and uninstall plugin.
* Menu and submenu registry for wordpress dashboard.
* Shortcode support.
Class example with implemented fs_generic_wp_plugin.
.po files for internalization use.
.sql files for create and delete DB tables:
*plugin_tables.sql: this script will be executed on plugin activation
*plugin_tables_uninstall.sql: this script will be executed on plugin uninstall,
for example: delete plugin tables.
Main script plugin.
This script will be executed on plugin uninstall.
For more information visit this url:
or send an email to email@example.com
This plugin is only for developer use, you must upload this files to
/wp-content/plugins/ wordpress directory and modify for develop your plugin.
How create new plugin:
You must follow this steps:
1- Rename generic-wp-plugin and generic-wp-plugin.php main script with you plugin name.
2- Extend fs_generic_wp_plugin abstract class or modify example class hello_world_plugin.
3- Change uninstall.php and Main script (generic-wp-plugin.php, you renamed script)
for created class implemented on step 2.
4- Change script under /sql directory if your plugin use own database tables or
simply leave these clean.
Table names in these scripts must contain tag %%WP_PREFIX%% with will be instanciated
on run-time with wordpress database prefix.
Contributors & Developers
“Generic WP Plugin” is open source software. The following people have contributed to this plugin.Contributors
- First version with basic plugin implementation on abstract class fs_generic_wp_plugin