How to make a php include function link to the actual function?
-
Ok, that title probably doesn’t make sense, so let me explain. There are built in functions that are immediately recognized in wordpress, such as the get_header() function or the get_sidebar() function, and once plugins are installed, they too sometimes have recognized “include” functions. How can I make my own?
I created a file with the php function I made written out, and I am currently using the include function to reference it (ie <?php include(remote_address); ?>. How can I simplify that to one of those include functions where I don’t have to type out the actual web location of the function file?
Does that make sense?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How to make a php include function link to the actual function?’ is closed to new replies.