LLMS_Frontend_Assets::init()

Initializer


Description Description

Replaces non-static __construct() from 3.4.0 & lower.


Top ↑

Return Return

(void)


Top ↑

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' ) );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
5.6.0 Add content protection inline script enqueue.
3.4.1
3.17.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.