public function override_dot_org( $type, $repo ) {
		// Correctly account for dashicon in Settings page.
		$icon           = is_array( $repo );
		$repo           = is_array( $repo ) ? (object) $repo : $repo;
		$dot_org_master = ! $icon ? $repo->dot_org && 'master' === $repo->branch : true;

		$transient_key = 'plugin' === $type ? $repo->file : null;
		$transient_key = 'theme' === $type ? $repo->slug : $transient_key;

		/**
		 * Filter update to override dot org.
		 *
		 * @since 8.5.0
		 *
		 * @return bool
		 */
		$override = in_array( $transient_key, apply_filters( 'github_updater_override_dot_org', [] ), true );

		return ! $dot_org_master || $override || $this->deprecate_override_constant();
	}
public function override_dot_org( $type, $repo ) {
		// Correctly account for dashicon in Settings page.
		$icon           = is_array( $repo );
		$repo           = is_array( $repo ) ? (object) $repo : $repo;
		$dot_org_master = ! $icon ? $repo->dot_org && 'master' === $repo->branch : true;

		$transient_key = 'plugin' === $type ? $repo->file : null;
		$transient_key = 'theme' === $type ? $repo->slug : $transient_key;

		/**
		 * Filter update to override dot org.
		 *
		 * @since 8.5.0
		 *
		 * @return bool
		 */
		$override = in_array( $transient_key, apply_filters( 'github_updater_override_dot_org', [] ), true );

		return ! $dot_org_master || $override || $this->deprecate_override_constant();
	}
public function override_dot_org ( $ type , $ repo ) { // Correctly account for dashicon in Settings page. $ icon = is_array ( $ repo ) ; $ repo = is_array ( $ repo ) ? ( object ) $ repo : $ repo ; $ dot_org_master = ! $ icon ? $ repo -> dot_org && 'master' === $ repo -> branch : true ; $ transient_key = 'plugin' === $ type ? $ repo -> file : null ; $ transient_key = 'theme' === $ type ? $ repo -> slug : $ transient_key ; /**
		 * Filter update to override dot org.
		 *
		 * @since 8.5.0
		 *
		 * @return bool
		 */ $ override = in_array ( $ transient_key , apply_filters ( 'github_updater_override_dot_org' , [ ] ) , true ) ; return ! $ dot_org_master || $ override || $ this -> deprecate_override_constant ( ) ; }
Do we override dot org updates?

@param string    $type (plugin|theme)
@param \stdClass $repo Repository object.

@return bool
Do we override dot org updates?