Astra_Admin_Settings::admin_submenu_css()

Add custom CSS for admin area sub menu icons.


Description


Source

File: inc/core/class-astra-admin-settings.php

		public static function admin_submenu_css() {

			echo '<style class="astra-menu-appearance-style">
					#menu-appearance a[href^="edit.php?post_type=astra-"]:before,
					#menu-appearance a[href^="themes.php?page=astra-"]:before,
					#menu-appearance a[href^="edit.php?post_type=astra_"]:before,
					#menu-appearance a[href^="edit-tags.php?taxonomy=bsf_custom_fonts"]:before,
					#menu-appearance a[href^="themes.php?page=custom-typekit-fonts"]:before,
					#menu-appearance a[href^="edit.php?post_type=bsf-sidebar"]:before {
						content: "\21B3";
						margin-right: 0.5em;
						opacity: 0.5;
					}
				</style>';

		}

Changelog

Changelog
Version Description
2.5.4 Introduced.

User Contributed Notes

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