LLMS_Frontend_Assets::init()
Initializer
Description Description
Replaces non-static __construct() from 3.4.0 & lower.
Return Return
(void)
Source Source
File: includes/class.llms.frontend.assets.php
public static function init() { add_action( 'wp_enqueue_scripts', array( __CLASS__, 'enqueue_styles' ) ); add_action( 'wp_enqueue_scripts', array( __CLASS__, 'enqueue_scripts' ) ); add_action( 'wp_head', array( __CLASS__, 'output_header_scripts' ) ); add_action( 'wp_print_footer_scripts', array( __CLASS__, 'output_footer_scripts' ), 1 ); add_action( 'wp', array( __CLASS__, 'enqueue_content_protection' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.6.0 | Add content protection inline script enqueue. |
3.4.1 | |
3.17.5 | Introduced. |