[wp-hackers] Must Use plugin example?
bmay at alyte.com.au
Tue May 14 22:33:35 UTC 2013
Writing a MU-plugin (AFAIK) is the same as a normal plugin.
If you're writing something that's larger than 1 file, (ie in a folder)
drop a file in /mu-plugins/loader.php and inside that and requice_once
/mu-plugins/my-plugin/plugin.php - this is how I've managed to get away
with it in the past
On 15 May 2013 06:49, Micky Hulse <mickyhulse.lists at gmail.com> wrote:
> I'd like to learn how to write a solid Must Use plugin.
> Just curious if anyone knows of an existing, simple, Must Use plugin
> that I could use to learn from?
> I'd like to see an example of a MU plugin that uses PHP5+ OOP/Class.
> The simpler the example the better ... I'm mostly wanting to figure
> out the template/pattern that I need to use.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers