classes/PodsComponents.php
public function deactivate_component( $component ) {

		if ( $this->is_component_active( $component ) ) {
			if ( isset( $this->components[ $component ] ) ) {
				$this->settings['components'][ $component ] = 0;

				$this->update_settings( $this->settings );
			}
		}

	}
public function deactivate_component( $component ) {

		if ( $this->is_component_active( $component ) ) {
			if ( isset( $this->components[ $component ] ) ) {
				$this->settings['components'][ $component ] = 0;

				$this->update_settings( $this->settings );
			}
		}

	}
public function deactivate_component ( $ component ) { if ( $ this -> is_component_active ( $ component ) ) { if ( isset ( $ this -> components [ $ component ] ) ) { $ this -> settings [ 'components' ] [ $ component ] = 0 ; $ this -> update_settings ( $ this -> settings ) ; } } }
Deactivate a component

@param string $component The component name to deactivate.

@since 2.7.0
Deactivate a component