get_file_description


get_file_description ( $file )

Parameters:
  • (string) file Filesystem path or filename.
Returns:
  • (string) Description of file from $wp_file_descriptions or basename of $file if description doesn't exist. Appends 'Page Template' to basename of $file if the file is a page template.
Defined at:

Description

Gets the description for standard WordPress theme files.

Related Functions

term_description, get_the_archive_description, get_the_author_description, tag_description, the_archive_description

Top Google Results

User discussions

wpseek mobile