[wp-hackers] Class conflicts with plugin frameworks

Stephen Rider wp-hackers at striderweb.com
Thu Apr 28 05:03:37 UTC 2011


I wonder if you could do something like this in each plugin:

class myplugin_mvc {
	include (bootstrap.php)
}

Does that work in PHP?  If it does you could use the exact same bootstrap.php file in each plugin, but each plugin would be calling it in the process of creating its own class.

Steve


More information about the wp-hackers mailing list