Automattic\WooCommerce\Internal\Admin\WCPayPromotion

Init::load_payment_method_promotions()public staticWC 1.0

Loads the payment method promotions scripts and styles.

Method of the class: Init{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Init::load_payment_method_promotions();

Init::load_payment_method_promotions() code WC 9.0.1

public static function load_payment_method_promotions() {
	WCAdminAssets::register_style( 'payment-method-promotions', 'style', array( 'wp-components' ) );
	WCAdminAssets::register_script( 'wp-admin-scripts', 'payment-method-promotions', true );
}