Support » Plugins » custom include

  • How can I do my includes to get access to all the support functions (like get_header, get_footer) without executing main() operations

Viewing 1 replies (of 1 total)
  • You can make any non-WP (php) file “aware of WordPress” by adding this on the top, before everything:

    All the WP functions will bee available on that file.

Viewing 1 replies (of 1 total)
  • The topic ‘custom include’ is closed to new replies.