includes/class-freemius.php
function _add_upgrade_action_link() {
            $this->_logger->entrance();

            if ( ! $this->is_paying() && $this->has_paid_plan() ) {
                $this->add_plugin_action_link(
                    $this->get_text_inline( 'Upgrade', 'upgrade' ),
                    $this->get_upgrade_url(),
                    false,
                    7,
                    'upgrade'
                );
            }

            if ( $this->has_addons() ) {
                $this->add_plugin_action_link(
                    $this->get_text_inline( 'Add-Ons', 'add-ons' ),
                    $this->_get_admin_page_url( 'addons' ),
                    false,
                    9,
                    'addons'
                );
            }
        }
function _add_upgrade_action_link() {
            $this->_logger->entrance();

            if ( ! $this->is_paying() && $this->has_paid_plan() ) {
                $this->add_plugin_action_link(
                    $this->get_text_inline( 'Upgrade', 'upgrade' ),
                    $this->get_upgrade_url(),
                    false,
                    7,
                    'upgrade'
                );
            }

            if ( $this->has_addons() ) {
                $this->add_plugin_action_link(
                    $this->get_text_inline( 'Add-Ons', 'add-ons' ),
                    $this->_get_admin_page_url( 'addons' ),
                    false,
                    9,
                    'addons'
                );
            }
        }
function _add_upgrade_action_link ( ) { $ this -> _logger -> entrance ( ) ; if ( ! $ this -> is_paying ( ) && $ this -> has_paid_plan ( ) ) { $ this -> add_plugin_action_link ( $ this -> get_text_inline ( 'Upgrade' , 'upgrade' ) , $ this -> get_upgrade_url ( ) , false , 7 , 'upgrade' ) ; } if ( $ this -> has_addons ( ) ) { $ this -> add_plugin_action_link ( $ this -> get_text_inline ( 'Add-Ons' , 'add-ons' ) , $ this -> _get_admin_page_url ( 'addons' ) , false , 9 , 'addons' ) ; } }
Adds Upgrade and Add-Ons links to the main Plugins page link actions collection.

@author Vova Feldman (@svovaf)
@since  1.0.0
Adds Upgrade and Add - Ons links to the main Plugins page link actions collection .