Automattic\WooCommerce\Internal\Admin\Logging\FileV2
FileListTable::get_sources_list
Get the existing log sources for the filter dropdown.
Метод класса: FileListTable{}
Хуков нет.
Возвращает
Массив.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_sources_list(): array;
Код FileListTable::get_sources_list() FileListTable::get sources list WC 10.4.3
protected function get_sources_list(): array {
$sources = $this->file_controller->get_file_sources();
if ( is_wp_error( $sources ) ) {
return array();
}
sort( $sources );
return $sources;
}