Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Frontend_Assets::output_inline_scripts( string $where )

Output inline scripts


Parameters Parameters

$where

(string) (Required) which set of scripts to output [header|footer]


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.frontend.assets.php

			llms()->assets->enqueue_script( 'llms-select2' );
			llms()->assets->enqueue_inline(
				'llms-countries-locale',
				"window.llms.address_info = '" . wp_json_encode( llms_get_countries_address_info() ) . "';",
				'footer',
				20
			);
		}

	}

	/**
	 * Retrieves AJAX checkout URLs used for checkout and switching payment source on the student dashboard.
	 *
	 * @since 7.0.0
	 *

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.