WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
класс не описан

ImportInterface() WC 1.0

Хуков нет.

Возвращает

Null. Ничего.

Использование

$ImportInterface = new ImportInterface();
// use class methods

Методы

  1. get_items( $limit, $page, $days, $skip_existing )
  2. get_total_imported()

Код ImportInterface: woocommerce/packages/woocommerce-admin/src/Schedulers/ImportInterface.php WC 4.3.1

<?php
interface ImportInterface {
	/**
	 * Get items based on query and return IDs along with total available.
	 *
	 * @param int      $limit Number of records to retrieve.
	 * @param int      $page  Page number.
	 * @param int|bool $days Number of days prior to current date to limit search results.
	 * @param bool     $skip_existing Skip already imported items.
	 */
	public static function get_items( $limit, $page, $days, $skip_existing );

	/**
	 * Get total number of items already imported.
	 *
	 * @return null
	 */
	public static function get_total_imported();

}