src/Hametuha/HametWoo/Utility/Tools.php
public function card_icons() {
		$icons = [];
		$base_url = WC()->plugin_url() . '/assets/images/icons/credit-cards/';
		$base_dir = WC()->plugin_path() . '/assets/images/icons/credit-cards/';
		if ( is_dir( $base_dir ) ) {
			foreach ( scandir( $base_dir ) as $icon ) {
				if ( preg_match( '#(.*)\.svg$#', $icon, $matches ) ) {
					$icons[ $matches[1] ] = $base_url . $icon;
				}
			}
		}
		return $icons;
	}
public function card_icons() {
		$icons = [];
		$base_url = WC()->plugin_url() . '/assets/images/icons/credit-cards/';
		$base_dir = WC()->plugin_path() . '/assets/images/icons/credit-cards/';
		if ( is_dir( $base_dir ) ) {
			foreach ( scandir( $base_dir ) as $icon ) {
				if ( preg_match( '#(.*)\.svg$#', $icon, $matches ) ) {
					$icons[ $matches[1] ] = $base_url . $icon;
				}
			}
		}
		return $icons;
	}
public function card_icons ( ) { $ icons = [ ] ; $ base_url = WC ( ) -> plugin_url ( ) . '/assets/images/icons/credit-cards/' ; $ base_dir = WC ( ) -> plugin_path ( ) . '/assets/images/icons/credit-cards/' ; if ( is_dir ( $ base_dir ) ) { foreach ( scandir ( $ base_dir ) as $ icon ) { if ( preg_match ( '#(.*)\.svg$#' , $ icon , $ matches ) ) { $ icons [ $ matches [ 1 ] ] = $ base_url . $ icon ; } } } return $ icons ; }
Get card icon URL.

@return array
Get card icon URL .