Raised This Month: $ Target: $400
 0% 

[QUESTION] Merging Plugins?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 12-15-2015 , 05:14   Re: [QUESTION] Merging Plugins?
Reply With Quote #1

If u have a check for example is_user_admin, which both thinks use then it will be more eficient merging both plugin and call the function once. But it doesnt make big difference. Sometimes it's better to use separate plugins, depends on what are you purposed to do.
siriusmd99 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-15-2015 , 19:57   Re: [QUESTION] Merging Plugins?
Reply With Quote #2

Quote:
Originally Posted by siriusmd99 View Post
If u have a check for example is_user_admin, which both thinks use then it will be more eficient merging both plugin and call the function once.
Just one function is not enough to make it worth it. You will never notice the difference. You would need a lot of code to be shared to make it worth it.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode