WOOF :: child_theme_image( $path, String $base_dir = "images" )
A preset on the WOOF::theme_image to return a WOOF_Image object representing an image file at the path given, relative to the child theme directory of the active theme appended to a default base directory of “images” inside your theme.
This can be really useful for displaying images stored inside your theme folder, opening up the rich image processing API of the WOOF_Image object to those images.
Parameters:
-
$path
The path of the file relative to the directory of the active theme, plus the base directory in the second argument.
-
String $base_dir = "images"
The base directory of the image file inside the active directory. This defaults to “images” to reflect a common folder name for images in your theme.