LLMS_Abstract_Email_Provider::should_output_inline()
Determine if inline scripts and styles should be output.
Return Return
(bool)
Source Source
File: includes/abstracts/llms-abstract-email-provider.php
protected function should_output_inline() { // Short circuit if unauthorized. if ( ! current_user_can( 'install_plugins' ) ) { return false; } $screen = get_current_screen(); return ( 'lifterlms_page_llms-settings' === $screen->id && 'engagements' === llms_filter_input( INPUT_GET, 'tab' ) && ! $this->is_connected() ); }
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.40.0 | Introduced. |