WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

PayPal::get_supported_features() public WC 1.0

Returns an array of supported features.

{} It's a method of the class: PayPal{}

Return

String[].

Usage

$PayPal = new PayPal();
$PayPal->get_supported_features();

Code of PayPal::get_supported_features() WC 5.9.0

public function get_supported_features() {
	$gateway  = new WC_Gateway_Paypal();
	$features = array_filter( $gateway->supports, array( $gateway, 'supports' ) );
	return apply_filters( '__experimental_woocommerce_blocks_payment_gateway_features_list', $features, $this->get_name() );
}