viewer_functions and add ons

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: [Maurice] viewer_functions and add ons

By Jason - January 18, 2011

Hi,

As long as your plugin has been activated, you don't need to use a require_once statement to make it available. You just need to include viewer_functions on your .php page.

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 18, 2011

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

Dropmonkey.nl