WooParc_plugin_links

Added help links to plugin page.

Description

WooParc_plugin_links( $links ); 

Parameters (1)

0. $links
The links.

Usage

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

Defined (1)

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

/woocommerce-postnl-parcelware.php  
  1. function WooParc_plugin_links($links) {  
  2. $settings_link = '<a href="admin.php?page=woocommerce_parcelware">Settings</a>';  
  3. $premium_link = '<a href="http://wordpress.geev.nl/product/woocommerce-postnl-parcelware/" title="Premium Support" target=_blank>Buy Pro</a>';  
  4. array_unshift($links, $settings_link, $premium_link);  
  5. return $links;