Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Access/manipluate functions and classes to/from 3rd party plugins. Best practice?
#4
Thanks for swift response.
(2016-11-07, 05:08:00)shawn_a Wrote: Maybe give more specifics.

My custom theme uses the plugin Front End User Login ( modified ).
However, my theme's form elements are different than the ones embedded in the above mentioned plugin's source.

So I'm trying to figure out:
  • Whether I create a set of similar functions and or class calls in my theme's directory?
  • If I should add my theme's functions to the plugins source ( prefer not to ) ?
  • If it's "secure" to include the plugin's source file in my theme's function file ?
  • If there is a better way to approach this ?
htms

(2016-11-07, 05:09:10)shawn_a Wrote: If thisbis for a theme use your own local functions tonwrap third party calls and use function exists or is callable checks to segment the code
hrm, ok I will test this out too.. Still just curious if it best practice though...
Reply


Messages In This Thread
RE: Access/manipluate functions and classes to/from 3rd party plugins. Best practice? - by roy_b8te - 2016-11-07, 05:40:47



Users browsing this thread: 1 Guest(s)