calling functions/php-files
-
Hi,
I wrote two new functions in template-functions-post.php concerning the behavior of single pages.I would like to put these functions into a new ‘pagesbehavior.php’ so that my functions aren’t deleted when an update overwrites the existing temmplate-functions-post.php.
My only problem is that I don’t know how wordpress knows which *.php-file it has to call to retrieve the corresponding function. So, how does <?php wp_list_pages(” ); ?> for example know that it must call template-functions-post.php to get the function wp_list_pages? It doesn’t call every php-files in the include-folder, does it?
Grateful for any help.
The topic ‘calling functions/php-files’ is closed to new replies.