{"id":21008,"date":"2012-12-03T03:16:40","date_gmt":"2012-12-03T03:16:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/generic-wp-plugin\/"},"modified":"2012-12-03T14:48:06","modified_gmt":"2012-12-03T14:48:06","slug":"generic-wp-plugin","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/generic-wp-plugin\/","author":10996984,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"3.4.2","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"FS Generic Object Oriented WP Plugin","header_author":"Freelance Soft","header_description":"","assets_banners_color":"","last_updated":"2012-12-03 14:48:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.freelance-soft.com\/productos\/wp\/generic-plugin\/","header_author_uri":"http:\/\/www.freelance-soft.com","rating":5,"author_block_rating":0,"active_installs":0,"downloads":934,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3020,31803],"plugin_category":[],"plugin_contributors":[129799],"plugin_business_model":[],"class_list":["post-21008","plugin","type-plugin","status-closed","hentry","plugin_tags-develop","plugin_tags-oriented-object","plugin_contributors-freelancesoft","plugin_committers-freelancesoft"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/generic-wp-plugin.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Files:\n   \/classes\/fs_generic_wp_plugin.php\n     Abstract class with support for:\n       * Activate, deactivate and uninstall plugin.\n       * Internalization.\n       * Menu and submenu registry for wordpress dashboard.\n       * Shortcode support.<\/p>\n\n<p>\/classes\/fs_translator.php\n     Internalization class.<\/p>\n\n<p>\/classes\/hello_world_plugin.php\n     Class example with implemented fs_generic_wp_plugin.<\/p>\n\n<p>\/lang\n     .po files for internalization use.<\/p>\n\n<p>\/sql\n     .sql files for create and delete DB tables:\n       *plugin_tables.sql: this script will be executed on plugin activation \n       *plugin_tables_uninstall.sql: this script will be executed on plugin uninstall,\n                                     for example: delete plugin tables.<\/p>\n\n<p>\/generic-wp-plugin.php\n      Main script plugin.<\/p>\n\n<p>\/uninstall.php\n      This script will be executed on plugin uninstall.<\/p>\n\n<h3>Support<\/h3>\n\n<p>For more information visit this url:\nwww.freelance-soft.com\/productos\/wordpress\/generic-plugin\nor send an email to info@freelance-soft.com<\/p>\n\n<!--section=installation-->\n<p>This plugin is only for developer use, you must upload this files to\n\/wp-content\/plugins\/ wordpress directory and modify for develop your plugin.<\/p>\n\n<p>How create new plugin:<\/p>\n\n<p>You must follow this steps:\n1- Rename generic-wp-plugin and generic-wp-plugin.php main script with you plugin name.<\/p>\n\n<p>2- Extend fs_generic_wp_plugin abstract class or modify example class hello_world_plugin.<\/p>\n\n<p>3- Change uninstall.php and Main script (generic-wp-plugin.php, you renamed script) \n   for created class implemented on step 2.<\/p>\n\n<p>4- Change script under \/sql directory if your plugin use own database tables or\n   simply leave these clean.\n   Table names in these scripts must contain tag %%WP_PREFIX%% with will be instanciated\n   on run-time with wordpress database prefix.<\/p>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>First version with basic plugin implementation on abstract class fs_generic_wp_plugin<\/li>\n<\/ul>","raw_excerpt":"Generic Object-Oriented Wordpress plugin for developer use.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21008"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/freelancesoft"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21008"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21008"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21008"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21008"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21008"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}