mh_magazine_lite_admin_notice

The MH Magazine lite mh magazine lite admin notice function.

Description

mh_magazine_lite_admin_notice(); 

Usage

  1. if ( !function_exists( 'mh_magazine_lite_admin_notice' ) ) { 
  2. require_once '/admin/admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = mh_magazine_lite_admin_notice(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/admin/admin.php  
  1. function mh_magazine_lite_admin_notice() { 
  2. global $pagenow, $mh_magazine_lite_version; 
  3. if (current_user_can('edit_theme_options') && 'index.php' === $pagenow && !get_option('mh_magazine_lite_notice_welcome') || current_user_can('edit_theme_options') && 'themes.php' === $pagenow && isset($_GET['activated']) && !get_option('mh_magazine_lite_notice_welcome')) { 
  4. wp_enqueue_style('mh-magazine-lite-admin-notice', get_template_directory_uri() . '/admin/admin-notice.css', array(), $mh_magazine_lite_version);