aiosp_plugin_row_meta

The All In One SEO Pack aiosp plugin row meta function.

Description

(array) aiosp_plugin_row_meta( $actions, $plugin_file ); 

Returns (array)

Parameters (2)

0. $actions
The actions.
1. $plugin_file
The plugin file.

Usage

  1. if ( !function_exists( 'aiosp_plugin_row_meta' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'all-in-one-seo-pack/all_in_one_seo_pack.php'; 
  3.  
  4. // The actions. 
  5. $actions = null; 
  6.  
  7. // The plugin file. 
  8. $plugin_file = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = aiosp_plugin_row_meta($actions, $plugin_file); 
  12.  

Defined (1)

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

/all_in_one_seo_pack.php  
  1. function aiosp_plugin_row_meta( $actions, $plugin_file ) { 
  2.  
  3. if ( ! AIOSEOPPRO ) { 
  4.  
  5. $action_links = array( 
  6. 'donatelink' => array( 
  7. 'label' => __( 'Donate', 'all-in-one-seo-pack' ),  
  8. 'url' => 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8',  
  9. ),  
  10. 'amazon' => array( 
  11. 'label' => __( 'Amazon Wishlist', 'all-in-one-seo-pack' ),  
  12. 'url' => 'https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web',  
  13. ),  
  14.  
  15. ); 
  16.  
  17. } else { 
  18. $action_links = ''; 
  19.  
  20. return aiosp_action_links( $actions, $plugin_file, $action_links, 'after' );