viewer_functions and add ons

By Maurice - January 16, 2011

Hi all,

like you probably all know i'm lazy [;)]

so is it possible and wise to add all my plugin header codes in the viewer_functions.php that way i only have to add all ones and not do it for each page I'm building.

if so is there a good sample how to do that?

Lets make things simpler [cool]

Greetz Maurice
-------------------------------------------

Dropmonkey.nl

Re: [Maurice] viewer_functions and add ons

By Jason - January 17, 2011

Hi Maurice,

I'm not sure I understand what you mean by "plugin header codes". If you mean having your plugin functions available by including viewer_functions.php, this is already done. When you use require_once() for viewer_functions.php you have access to all your activated plugins automatically.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] viewer_functions and add ons

By Maurice - January 17, 2011

cool so i don't have to add all the headers anny more in each page for each add on?
-------------------------------------------

Dropmonkey.nl

Re: [Jason] viewer_functions and add ons

By Maurice - January 18, 2011

great.
-------------------------------------------

Dropmonkey.nl