pmpro_setupAddonUpdateInfo

Setup plugins api filters.

Description

pmpro_setupAddonUpdateInfo(); 

Usage

  1. if ( !function_exists( 'pmpro_setupAddonUpdateInfo' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'paid-memberships-pro/includes/addons.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = pmpro_setupAddonUpdateInfo(); 
  7.  

Defined (1)

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

/includes/addons.php  
  1. function pmpro_setupAddonUpdateInfo() 
  2. add_filter('plugins_api', 'pmpro_plugins_api', 10, 3);