LLMS_Helper_Assets::enqueue()
Register, enqueue, & localize
Contents
Return Return
(void)
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-assets.php
public function enqueue() { $load = false; $screen = get_current_screen(); if ( 'lifterlms_page_llms-status' === $screen->id && isset( $_GET['tab'] ) && 'betas' === $_GET['tab'] ) { $load = true; } elseif ( 'lifterlms_page_llms-add-ons' === $screen->id ) { $load = true; } if ( ! $load ) { return; } wp_register_style( 'llms-helper', LLMS_HELPER_PLUGIN_URL . 'assets/css/llms-helper' . LLMS_ASSETS_SUFFIX . '.css', array(), LLMS_HELPER_VERSION ); wp_enqueue_style( 'llms-helper' ); wp_style_add_data( 'llms-sl', 'rtl', 'replace' ); wp_style_add_data( 'llms-sl', 'suffix', LLMS_ASSETS_SUFFIX ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |