Warning: This method has been deprecated. Retrieve ajax nonce via window.llms.ajax-nonce in favor of wp_ajax_data.nonce instead.

LLMS_AJAX::register_script()

Register our AJAX JavaScript.


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.ajax.php

	public function register_script() {

		wp_localize_script( 'llms', 'wp_ajax_data', $this->get_ajax_data() );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Retrieve ajax nonce via window.llms.ajax-nonce in favor of wp_ajax_data.nonce.
3.35.0 Sanitize data & declare script versions.
1.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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