includes/class-freemius.php
private function should_stop_execution() {
            if ( empty( $this->_storage->was_plugin_loaded ) ) {
                /**
                 * Don't execute Freemius until plugin was fully loaded at least once,
                 * to give the opportunity for the activation hook to run before pinging
                 * the API for connectivity test. This logic is relevant for the
                 * identification of new plugin install vs. plugin update.
                 *
                 * @author Vova Feldman (@svovaf)
                 * @since  1.1.9
                 */
                return true;
            }

            if ( $this->is_activation_mode() ) {
                if ( ! is_admin() ) {
                    /**
                     * If in activation mode, don't execute Freemius outside of the
                     * admin dashboard.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */
                    return true;
                }

                if ( ! WP_FS__IS_HTTP_REQUEST ) {
                    /**
                     * If in activation and executed without HTTP context (e.g. CLI, Cronjob),
                     * then don't start Freemius.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.6.3
                     *
                     * @link   https://wordpress.org/support/topic/errors-in-the-freemius-class-when-running-in-wordpress-in-cli
                     */
                    return true;
                }

                if ( self::is_cron() ) {
                    /**
                     * If in activation mode, don't execute Freemius during wp crons
                     * (wp crons have HTTP context - called as HTTP request).
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */
                    return true;
                }

                if ( self::is_ajax() &&
                     ! $this->_admin_notices->has_sticky( 'failed_connect_api_first' ) &&
                     ! $this->_admin_notices->has_sticky( 'failed_connect_api' )
                ) {
                    /**
                     * During activation, if running in AJAX mode, unless there's a sticky
                     * connectivity issue notice, don't run Freemius.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */
                    return true;
                }
            }

            return false;
        }
private function should_stop_execution() {
            if ( empty( $this->_storage->was_plugin_loaded ) ) {
                /**
                 * Don't execute Freemius until plugin was fully loaded at least once,
                 * to give the opportunity for the activation hook to run before pinging
                 * the API for connectivity test. This logic is relevant for the
                 * identification of new plugin install vs. plugin update.
                 *
                 * @author Vova Feldman (@svovaf)
                 * @since  1.1.9
                 */
                return true;
            }

            if ( $this->is_activation_mode() ) {
                if ( ! is_admin() ) {
                    /**
                     * If in activation mode, don't execute Freemius outside of the
                     * admin dashboard.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */
                    return true;
                }

                if ( ! WP_FS__IS_HTTP_REQUEST ) {
                    /**
                     * If in activation and executed without HTTP context (e.g. CLI, Cronjob),
                     * then don't start Freemius.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.6.3
                     *
                     * @link   https://wordpress.org/support/topic/errors-in-the-freemius-class-when-running-in-wordpress-in-cli
                     */
                    return true;
                }

                if ( self::is_cron() ) {
                    /**
                     * If in activation mode, don't execute Freemius during wp crons
                     * (wp crons have HTTP context - called as HTTP request).
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */
                    return true;
                }

                if ( self::is_ajax() &&
                     ! $this->_admin_notices->has_sticky( 'failed_connect_api_first' ) &&
                     ! $this->_admin_notices->has_sticky( 'failed_connect_api' )
                ) {
                    /**
                     * During activation, if running in AJAX mode, unless there's a sticky
                     * connectivity issue notice, don't run Freemius.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */
                    return true;
                }
            }

            return false;
        }
private function should_stop_execution ( ) { if ( empty ( $ this -> _storage -> was_plugin_loaded ) ) { /**
                 * Don't execute Freemius until plugin was fully loaded at least once,
                 * to give the opportunity for the activation hook to run before pinging
                 * the API for connectivity test. This logic is relevant for the
                 * identification of new plugin install vs. plugin update.
                 *
                 * @author Vova Feldman (@svovaf)
                 * @since  1.1.9
                 */ return true ; } if ( $ this -> is_activation_mode ( ) ) { if ( ! is_admin ( ) ) { /**
                     * If in activation mode, don't execute Freemius outside of the
                     * admin dashboard.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */ return true ; } if ( ! WP_FS__IS_HTTP_REQUEST ) { /**
                     * If in activation and executed without HTTP context (e.g. CLI, Cronjob),
                     * then don't start Freemius.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.6.3
                     *
                     * @link   https://wordpress.org/support/topic/errors-in-the-freemius-class-when-running-in-wordpress-in-cli
                     */ return true ; } if ( self :: is_cron ( ) ) { /**
                     * If in activation mode, don't execute Freemius during wp crons
                     * (wp crons have HTTP context - called as HTTP request).
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */ return true ; } if ( self :: is_ajax ( ) && ! $ this -> _admin_notices -> has_sticky ( 'failed_connect_api_first' ) && ! $ this -> _admin_notices -> has_sticky ( 'failed_connect_api' ) ) { /**
                     * During activation, if running in AJAX mode, unless there's a sticky
                     * connectivity issue notice, don't run Freemius.
                     *
                     * @author Vova Feldman (@svovaf)
                     * @since  1.1.7.3
                     */ return true ; } } return false ; }
Gate keeper.

@author Vova Feldman (@svovaf)
@since  1.1.7.3

@return bool
Gate keeper .