embed_google_map_plugin_actions

The Embed Google Map embed google map plugin actions function.

Description

embed_google_map_plugin_actions( $links, $file ); 

Parameters (2)

0. $links
The links.
1. $file
The file.

Usage

  1. if ( !function_exists( 'embed_google_map_plugin_actions' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'embed-google-map/embed_google_map.php'; 
  3.  
  4. // The links. 
  5. $links = null; 
  6.  
  7. // The file. 
  8. $file = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = embed_google_map_plugin_actions($links, $file); 
  12.  

Defined (1)

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

/embed_google_map.php  
  1. function embed_google_map_plugin_actions($links, $file) { 
  2. static $this_plugin; 
  3. if (!$this_plugin) $this_plugin = plugin_basename(__FILE__); 
  4. if ($file == $this_plugin) { 
  5. $my_link = '<a href="admin.php?page=embed_google_map.php">' . __('Settings') . '</a>'; 
  6. array_unshift($links, $my_link); 
  7. return $links;