Astra_Ext_Nav_Menu_Markup::dynamic_mega_menu_css()

Add global palette to admin section.


Description


Source

File: addons/nav-menu/classes/class-astra-ext-nav-menu-markup.php

		public function dynamic_mega_menu_css() {
			$css        = '';
			$inline_css = array(
				':root' => Astra_Global_Palette::generate_global_palette_style(),
			);

			$css .= astra_parse_css( $inline_css );

			?>
				<style>
					<?php echo $css;  // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
				</style>
			<?php
		}

Changelog

Changelog
Version Description
4.0.0 Introduced.

User Contributed Notes

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