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.
Description Description
Updates links so admins can navigate around quickly when "viewing as".
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 esc_js( llms_filter_input_sanitize_string( INPUT_GET, 'view_nonce' ) ); ?>' ).set_view( '<?php echo esc_js( $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 |
|---|---|
| 5.9.0 | Stop using deprecated FILTER_SANITIZE_STRING. |
| 3.7.0 | |
| 3.35.0 | Introduced. |