Automattic\WooCommerce\Internal\Admin\Settings
PaymentsController::register()
Register hooks.
Метод класса: PaymentsController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$PaymentsController = new PaymentsController(); $PaymentsController->register();
Код PaymentsController::register() PaymentsController::register WC 9.6.1
public function register() { // Because we gate the hooking based on a feature flag, // we need to delay the registration until the 'woocommerce_init' hook. // Otherwise, we end up in an infinite loop. add_action( 'woocommerce_init', array( $this, 'delayed_register' ) ); }