getName());
define('BINGOPRESS_VERSION', $theme->getVersion());
define('BINGOPRESS_PRODUCTION', $theme->isProduction());
define('BINGOPRESS_PATH', json_encode( $theme->getPath() ));
}
/**
* Convert html relative path into absolute path
* @var string $path WordPress base path
* @var string $html Html string
* @return void
*/
public function convertImagesRelativetoAbsolutePath($path, $html){
$pattern = "/
]*) " .
"src=\"([^http|ftp|https][^\"]*)\"/";
$replace = "
children as $children){
$templates[$children->id] = $children;
}
}
return $templates;
}
}