AnsPress_Admin::admin_footer()

Description #

Output custom script and styles in admin_footer.

Changelog #

VersionDescription
4.1.8Introduced.

Source #

File: admin/anspress-admin.php

	public static function admin_footer() {
		?>
			<style>
				#adminmenu .anspress-license-count{
					background: #0073aa;
				}
			</style>
			<script type="text/javascript">
				jQuery( document ).ready( function( $ ) {
					// Open the Theme & Extensions submenu link in a new tab/window.
					$( '#anspress-submenu-external-link' ).parent().attr( 'target', '_blank' );
				} );
			</script>
		<?php
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment