Core Function
View Source on Trac ↗ wp_is_theme_directory_ignored()
wp_is_theme_directory_ignored( mixed $path ) Determines whether a theme directory should be ignored during export.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $path string | The path of the file in the theme. Required |
Return Value
(bool)
Whether this file is in an ignored directory.
Function Information
Since Version
6.0.0
Source File
wp-includes/block-template-utils.php
Advertisement