Astra_Addon_Admin_Loader::settings_admin_scripts()
Initialize after Astra gets loaded.
Description
Source
File: admin/core/class-astra-addon-admin-loader.php
public function settings_admin_scripts() { // Enqueue admin scripts. if ( ! empty( $_GET['page'] ) && ( self::$plugin_slug === $_GET['page'] || false !== strpos( $_GET['page'], self::$plugin_slug . '_' ) ) ) { //phpcs:ignore add_action( 'admin_enqueue_scripts', array( $this, 'styles_scripts' ) ); } }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |