Archive | Functions RSS feed for this section

get_real_file_to_edit

Get the real file system path to a file to edit within the adminIf the $file is index.php or .htaccess this function will assume it is relative to the install root, otherwise it is assumed the file is relative to the wp-content directory

1657

Continue reading

get_query_template

Retrieve path to a templateUsed to quickly retrieve the path of a template without including the file extension. It will also check the parent theme, if the file exists, with the use of locate_template(). Allows for more generic template location without the use of the other get_*_template() functions.

1653

Continue reading