Google_Maps_Builder_Scripts

Class Google_Maps_Builder_Scripts.

Defined (1)

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

/includes/class-gmb-scripts.php  
  1. class Google_Maps_Builder_Scripts extends Google_Maps_Builder_Core_Scripts_Init { 
  2.  
  3. /** 
  4. * Load additional admin scripts 
  5. * @since 2.1 
  6. * @uses "admin_enqueue_scripts" 
  7. * @param $hook 
  8. */ 
  9. public function admin_hooks( $hook ) { 
  10. global $post; 
  11. $js_dir = GMB_PLUGIN_URL . 'assets/js/admin/'; 
  12. $suffix = $this->paths->suffix(); 
  13.  
  14. if ( ( $hook == 'post-new.php' || $hook == 'post.php' ) && 'google_maps' === $post->post_type ) { 
  15.  
  16. //free only 
  17.  
  18.  
  19.  
  20.  
  21. }//end class