theme_file_path, $path, $file

theme_file_path, $path, $file

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('theme_file_path, $path, $file') is found 2 times:

  • /wp-includes/class-wp-theme.php line 1634
    			$path = $template_directory . '/' . $file;
    		}
    
    		/** This filter is documented in wp-includes/link-template.php */
    		return apply_filters( 'theme_file_path', $path, $file );
    	}
    
    	/**
    	 * Determines the latest WordPress default theme that is installed.
    	 *
    	 * This hits the filesystem.
    
  • /wp-includes/link-template.php line 4732
    	 *
    	 * @param string $path The file path.
    	 * @param string $file The requested file to search for.
    	 */
    	return apply_filters( 'theme_file_path', $path, $file );
    }
    
    /**
     * Retrieves the path of a file in the parent theme.
     *
     * @since 4.7.0