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

Load Scripts


Description


Parameters

$hook

(string) (Optional) Current Hook.

Default value: ''


Return

(void)


Source

File: admin/bsf-core/class-bsf-rollback-version-manager.php

	public function load_scripts( $hook = '' ) {
		wp_register_script( 'bsf-core-version-rollback', bsf_core_url( '/assets/js/version-rollback.js' ), array( 'jquery' ), BSF_UPDATER_VERSION, true );
		wp_register_style( 'bsf-core-version-rollback-css', bsf_core_url( '/assets/css/rollback-version.css' ), array(), BSF_UPDATER_VERSION );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.


User Contributed Notes

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