Deprecated
This function is deprecated in favor of get_theme_file_uri() and get_theme_file_path() core WordPress functions as of WordPress 4.7.
Usage
PHP
nebula_prefer_child_directory($directory, $uri)
Parameters
$directory
(Required) (String) The directory or file to look for
Default: None
$uri
(Optional) (Boolean) Whether to return a URI (true) or path (false)
Default: true
Examples
PHP
<?php echo nebula_prefer_child_directory('/images/logo.png'); ?>