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

            $api    = $this->get_api_site_scope();
            $result = $api->call( "/users/{$this->_user->id}.json", 'put', array(
                'email'             => $candidate_email,
                'after_confirm_url' => $this->_get_admin_page_url(
                    'account',
                    array( 'fs_action' => 'change_owner' )
                ),
            ) );

            return ! $this->is_api_error( $result );
        }
private function init_change_owner( $candidate_email ) {
            $this->_logger->entrance();

            $api    = $this->get_api_site_scope();
            $result = $api->call( "/users/{$this->_user->id}.json", 'put', array(
                'email'             => $candidate_email,
                'after_confirm_url' => $this->_get_admin_page_url(
                    'account',
                    array( 'fs_action' => 'change_owner' )
                ),
            ) );

            return ! $this->is_api_error( $result );
        }
private function init_change_owner ( $ candidate_email ) { $ this -> _logger -> entrance ( ) ; $ api = $ this -> get_api_site_scope ( ) ; $ result = $ api -> call ( "/users/{$this->_user->id}.json" , 'put' , array ( 'email' => $ candidate_email , 'after_confirm_url' => $ this -> _get_admin_page_url ( 'account' , array ( 'fs_action' => 'change_owner' ) ) , ) ) ; return ! $ this -> is_api_error ( $ result ) ; }
Start install ownership change.

@author Vova Feldman (@svovaf)
@since  1.1.1
@uses   FS_Api

@param string $candidate_email

@return bool Is ownership change successfully initiated.
Start install ownership change .