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_View_Manager::get_inline_script()
Inline JS Updates links so admins can navigate around quickly when “viewing as”
Description Description
Return Return
(string)
Source Source
File: includes/class.llms.view.manager.php
private function get_inline_script() { ob_start(); ?> window.llms.ViewManager.set_nonce( '<?php echo $_GET['view_nonce']; ?>' ).set_view( '<?php echo $this->get_view(); ?>' ).update_links(); <?php return ob_get_clean(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |