search_google_unqprfx_plugin_meta

The Search by Google search google unqprfx plugin meta function.

Description

search_google_unqprfx_plugin_meta( $links, $file ); 

Parameters (2)

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

Usage

  1. if ( !function_exists( 'search_google_unqprfx_plugin_meta' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'search-by-google/search-google.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 = search_google_unqprfx_plugin_meta($links, $file); 
  12.  

Defined (1)

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

/search-google.php  
  1. function search_google_unqprfx_plugin_meta( $links, $file ) { // add 'Support' and 'Donate' links to plugin meta row 
  2. if ( strpos( $file, 'search-google.php' ) !== false ) { 
  3. $links = array_merge( $links, array( '<a href="http://web-profile.com.ua/wordpress/plugins/search-google/">' . __('Support', 'search-google') . '</a>' ) ); 
  4. $links = array_merge( $links, array( '<a href="http://web-profile.com.ua/donate/">' . __('Donate', 'search-google') . '</a>' ) ); 
  5. return $links;