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

Automattic\WooCommerce\Blocks\Payments

PaymentMethodRegistry::get_all_registered_script_handles() public WC 1.0

Gets an array of all registered payment method script handles.

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

Хуков нет.

Возвращает

Строку[].

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

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

Код PaymentMethodRegistry::get_all_registered_script_handles() WC 4.5.2

woocommerce/packages/woocommerce-blocks/src/Payments/PaymentMethodRegistry.php
<?php
public function get_all_registered_script_handles() {
	$script_handles  = [];
	$payment_methods = $this->get_all_active_registered();

	foreach ( $payment_methods as $payment_method ) {
		$script_handles = array_merge(
			$script_handles,
			is_admin() ? $payment_method->get_payment_method_script_handles_for_admin() : $payment_method->get_payment_method_script_handles()
		);
	}

	return array_unique( array_filter( $script_handles ) );
}