WordPress.org

Plugin Directory

Changeset 231341


Ignore:
Timestamp:
04/20/10 22:03:56 (4 years ago)
Author:
MrWiblog
Message:

Fixed typo in readme.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugin-register/trunk/readme.txt

    r231317 r231341  
    1515However what these stats don't show you is where your plugin is in use - which sites it is actually being activated on. Seeing that information would allow you to see exactly which sites are using your plugin, when they installed it, and what version the site is running. That is exactly what Plugin Register does. 
    1616 
    17 By including the Plugin_Register class and calling it with some simple code in your plugin which is registered to be run on activation with the `register_activation_hook()` method, your Plugin Register will be updated with the name and version of your plugin, the site name and URL. A simple call is made to your website to save these details in the Plugin Register table, and you get some great statistics on who is installing your plugins and where. 
     17By including the Plugin_Register class and calling it with some simple code in your plugin, your Plugin Register database will be updated with the name and version of your plugin, and the site name and URL. A simple call is made to your website to save these details in the Plugin Register table, and you get some great statistics on who is installing your plugins and where. 
    1818 
    1919So, what do you need to put in your plugin? This example code hows you everything you need: 
Note: See TracChangeset for help on using the changeset viewer.