WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Features::load_scripts() public WC 1.0

Loads the required scripts on the correct pages.

{} It's a method of the class: Features{}

No Hooks.

Return

null. Nothing.

Usage

$result = Features::load_scripts();

Code of Features::load_scripts() WC 5.3.0

<?php
public static function load_scripts() {
	if ( ! Loader::is_admin_or_embed_page() ) {
		return;
	}

	$features         = self::get_features();
	$enabled_features = array();
	foreach ( $features as $key ) {
		$enabled_features[ $key ] = self::is_enabled( $key );
	}
	wp_add_inline_script( WC_ADMIN_APP, 'window.wcAdminFeatures = ' . wp_json_encode( $enabled_features ), 'before' );
}