gmb_no_core_lib

Print admin notice if no dependencies.

Description

gmb_no_core_lib(); 

Usage

  1. if ( !function_exists( 'gmb_no_core_lib' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'maps-builder/google-maps-builder.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gmb_no_core_lib(); 
  7.  

Defined (1)

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

/google-maps-builder.php  
  1. function gmb_no_core_lib() { 
  2. printf( '<div class="notice notice-error"><p>%s</p></div>', esc_html__( 'Your install of Maps Builder is missing its Composer dependencies and can not load.', 'maps-builder-pro' ) );