Astra_Ext_Advanced_Hooks_Loader::register_react_script()
Register Script for Custom Layout.
Description
Source
File: addons/advanced-hooks/classes/class-astra-ext-advanced-hooks-loader.php
public function register_react_script() {
$path = ASTRA_ADDON_EXT_ADVANCED_HOOKS_URL . 'react/build/index.js';
wp_register_script(
'astra-custom-layout',
$path,
array( 'wp-plugins', 'wp-edit-post', 'wp-i18n', 'wp-element' ),
ASTRA_EXT_VER,
true
);
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 3.6.4 | Introduced. |