Astra_Rollback_Version_Manager::load_scripts( string $hook = '' )

Load Scripts


Description


Parameters

$hook

(string) (Optional) Current Hook.

Default value: ''


Return

(void)


Source

File: admin/astra-rollback/class-astra-rollback-version-manager.php

	public function load_scripts( $hook = '' ) {
		wp_register_script( 'astra-version-rollback', ASTRA_EXT_URI . 'admin/astra-rollback/assets/js/astra-rollback.js', array( 'jquery' ), ASTRA_EXT_VER, true );
		wp_register_style( 'astra-version-rollback-css', ASTRA_EXT_URI . 'admin/astra-rollback/assets/css/astra-rollback.css', array(), ASTRA_EXT_VER );
	}

Changelog

Changelog
Version Description
3.6.1 Introduced.

User Contributed Notes

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