embed_google_map_plugin_actions
The WordPress Core embed google map plugin actions function.
Description
Parameters (2)
- 0. $links
- The links.
- 1. $file
- The file.
Usage
if ( !function_exists( 'embed_google_map_plugin_actions' ) ) { require_once '/embed_google_map.php'; } // The links. $links = null; // The file. $file = null; // NOTICE! Understand what this does before running. $result = embed_google_map_plugin_actions($links, $file);
Defined (1)
The function is defined in the following location(s).
- /embed_google_map.php
- function embed_google_map_plugin_actions($links, $file) {
- static $this_plugin;
- if (!$this_plugin) $this_plugin = plugin_basename(__FILE__);
- if ($file == $this_plugin) {
- $my_link = '<a href="admin.php?page=embed_google_map.php">' . __('Settings') . '</a>';
- array_unshift($links, $my_link);
- }
- return $links;
- }