umf_plugin_links

Settings link on plugin page.

Description

umf_plugin_links( $links ); 

Parameters (1)

0. $links
The links.

Usage

  1. if ( !function_exists( 'umf_plugin_links' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-upload-my-file/woocommerce-upload-my-file.php'; 
  3.  
  4. // The links. 
  5. $links = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = umf_plugin_links($links); 
  9.  

Defined (1)

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

/woocommerce-upload-my-file.php  
  1. function umf_plugin_links($links) {  
  2. $settings_link = '<a href="admin.php?page=woocommerce_umf">Settings</a>';  
  3. $premium_link = '<a href="https://wpfortune.com/shop/plugins/woocommerce-uploads/" title="Buy Pro" target=_blank>Buy Pro</a>';  
  4. array_unshift($links, $settings_link, $premium_link);  
  5. return $links;