includes/class-freemius.php
function get_addons( $flush = false ) {
            $this->_logger->entrance();

            if ( ! $this->_has_addons ) {
                return false;
            }

            $addons = $this->sync_addons( $flush );

            return ( ! is_array( $addons ) || empty( $addons ) ) ?
                false :
                $addons;
        }
function get_addons( $flush = false ) {
            $this->_logger->entrance();

            if ( ! $this->_has_addons ) {
                return false;
            }

            $addons = $this->sync_addons( $flush );

            return ( ! is_array( $addons ) || empty( $addons ) ) ?
                false :
                $addons;
        }
function get_addons ( $ flush = false ) { $ this -> _logger -> entrance ( ) ; if ( ! $ this -> _has_addons ) { return false ; } $ addons = $ this -> sync_addons ( $ flush ) ; return ( ! is_array ( $ addons ) || empty ( $ addons ) ) ? false : $ addons ; }
Get plugin add-ons.

@author Vova Feldman (@svovaf)
@since  1.0.6

@since  1.1.7.3 If not yet loaded, fetch data from the API.

@param bool $flush

@return FS_Plugin[]|false
Get plugin add - ons .