WordPress.org

Support

Support » How-To and Troubleshooting » Where to store custom functions?

Where to store custom functions?

  • Hi there, I would like to know how to manage custom functions, theme independent:
    – where to store the .php source file
    – how to instruct WP to load that .php file
    – how to enable global visibility of functions

Viewing 1 replies (of 1 total)
  • Typically functions are kept by theme, in the functions.php file that is part of most themes. You could add an include statement in that file to include your file of generic functions.

Viewing 1 replies (of 1 total)
  • The topic ‘Where to store custom functions?’ is closed to new replies.
Skip to toolbar