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 ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.6.1 | Introduced. |