Automattic\WooCommerce\Internal\Admin\Settings

PaymentsController::registerpublicWC 1.0

Register hooks.

Метод класса: PaymentsController{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$PaymentsController = new PaymentsController();
$PaymentsController->register();

Код PaymentsController::register() WC 10.3.6

public function register() {
	add_action( 'admin_menu', array( $this, 'add_menu' ) );
	add_filter( 'admin_body_class', array( $this, 'add_body_classes' ), 20 );
	add_filter( 'woocommerce_admin_shared_settings', array( $this, 'preload_settings' ) );
	add_filter( 'woocommerce_admin_allowed_promo_notes', array( $this, 'add_allowed_promo_notes' ) );
	add_filter( 'woocommerce_get_sections_checkout', array( $this, 'handle_sections' ), 20 );
	add_action( 'woocommerce_admin_payments_extension_suggestion_incentive_dismissed', array( $this, 'handle_incentive_dismissed' ) );
}