This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Generic WP Plugin


Abstract class with support for:
* Activate, deactivate and uninstall plugin.
* Internalization.
* Menu and submenu registry for wordpress dashboard.
* Shortcode support.

Internalization class.

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


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.


Translate “Generic WP Plugin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • First version with basic plugin implementation on abstract class fs_generic_wp_plugin