wp_is_theme_directory_ignored
wp_is_theme_directory_ignored ( $path )
Parameters:- (string) path The path of the file in the theme.
Returns:- (bool) Whether this file is in an ignored directory.
Defined at: - Introduced in WordPress: 6.0.0
- Deprecated in WordPress: —
Description
Determines whether a theme directory should be ignored during export.