mh_magazine_lite_welcome_notice

The MH Magazine lite mh magazine lite welcome notice function.

Description

mh_magazine_lite_welcome_notice(); 

Usage

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

Defined (1)

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

/admin/admin.php  
  1. function mh_magazine_lite_welcome_notice() { 
  2. global $mh_magazine_lite_data; ?> 
  3. <div class="notice notice-success mh-welcome-notice"> 
  4. <a class="notice-dismiss mh-welcome-notice-hide" href="<?php echo esc_url(wp_nonce_url(remove_query_arg(array('activated'), add_query_arg('mh-magazine-lite-hide-notice', 'welcome')), 'mh_magazine_lite_hide_notices_nonce', '_mh_magazine_lite_notice_nonce')); ?>"> 
  5. <span class="screen-reader-text"> 
  6. <?php echo esc_html__('Dismiss this notice.', 'mh-magazine-lite'); ?> 
  7. </span> 
  8. </a> 
  9. <p><?php printf(esc_html__('Thanks for using %1$s! To get started please make sure you visit our %2$swelcome page%3$s.', 'mh-magazine-lite'), $mh_magazine_lite_data['Name'], '<a href="' . esc_url(admin_url('themes.php?page=magazine')) . '">', '</a>'); ?></p> 
  10. <p class="mh-welcome-notice-button"> 
  11. <a class="button-primary" href="<?php echo esc_url(admin_url('themes.php?page=magazine')); ?>"> 
  12. <?php printf(esc_html__('Get Started with %s', 'mh-magazine-lite'), $mh_magazine_lite_data['Name']); ?> 
  13. </a> 
  14. </p> 
  15. </div><?php