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

Automattic\WooCommerce\Blocks\Payments

PaymentMethodRegistry::get_all_active_registered() public WC 1.0

Retrieves all registered payment methods that are also active.

Это метод класса: PaymentMethodRegistry{}

Хуков нет.

Возвращает

PaymentMethodTypeInterface[].

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

$PaymentMethodRegistry = new PaymentMethodRegistry();
$PaymentMethodRegistry->get_all_active_registered();

Код PaymentMethodRegistry::get_all_active_registered() WC 4.5.2

woocommerce/packages/woocommerce-blocks/src/Payments/PaymentMethodRegistry.php
<?php
public function get_all_active_registered() {
	return array_filter(
		$this->get_all_registered(),
		function( $payment_method ) {
			return $payment_method->is_active();
		}
	);
}