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
Description Description
Parameters Parameters
- $where
-
(string) (Required) which set of scripts to output [header|footer]
Return Return
(void)
Source Source
File: includes/class.llms.frontend.assets.php
private static function output_inline_scripts( $where ) { $scripts = self::get_inline_scripts( $where ); // bail if no scripts if ( ! $scripts ) { return; } echo '<script id="llms-inline-' . $where . 'scripts" type="text/javascript">'; foreach ( $scripts as $script ) { echo $script; } echo '</script>'; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.4.1 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: