public function get_asset_by_postid($nb_dw, $post_id, $include_variations, $inprogress = false, $include_err = false) { require $this->the_plugin->cfg['paths']['plugin_dir_path'] . '/modules/assets_download/init.php'; $WooZoneLightAssetDownloadCron = new WooZoneLightAssetDownload(); return $WooZoneLightAssetDownloadCron->get_asset_by_postid($nb_dw, $post_id, $include_variations, $inprogress, $include_err); }