ActionScheduler_DBStore::get_group_id()publicWC 1.0

Метод класса: ActionScheduler_DBStore{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$ActionScheduler_DBStore = new ActionScheduler_DBStore();
$ActionScheduler_DBStore->;

Код ActionScheduler_DBStore::get_group_id() WC 8.7.0

}
/**
 * Get a group's ID based on its name/slug.
 *
 * @param string|array $slugs                The string name of a group, or names for several groups.
 * @param bool         $create_if_not_exists Whether to create the group if it does not already exist. Default, true - create the group.
 *
 * @return array The group IDs, if they exist or were successfully created. May be empty.
 */
protected function get_group_ids( $slugs, $create_if_not_exists = true ) {
	$slugs     = (array) $slugs;
	$group_ids = array();