public function setPath() {
		$found = $this->getLoad();
		$path = false;

		if ( ! empty( $found->product ) ) {

			// Loading from must use plugin directory?
			if ( ! is_file( $path = trailingslashit( WPMU_PLUGIN_DIR ) . $found->product ) ) {

				// Loading from plugin directory?
				if ( ! is_file( $path = trailingslashit( WP_PLUGIN_DIR ) . $found->product ) ) {

					// Loading from a parent theme directory?
					$path = get_template_directory() . '/inc/boldgrid-theme-framework/includes/theme';
				}
			}

			// Loading from framework path override directory?
			if ( defined( 'BGTFW_PATH' ) ) {
				$dir = ABSPATH . trim( BGTFW_PATH, '/' ) . '/includes';
				if ( is_dir( $dir . '/vendor/boldgrid/library' ) ) {
					$path = $dir . '/theme';
				}
			}

			$path = dirname( $path );
		}

		return $this->path = $path;
	}
public function setPath() {
		$found = $this->getLoad();
		$path = false;

		if ( ! empty( $found->product ) ) {

			// Loading from must use plugin directory?
			if ( ! is_file( $path = trailingslashit( WPMU_PLUGIN_DIR ) . $found->product ) ) {

				// Loading from plugin directory?
				if ( ! is_file( $path = trailingslashit( WP_PLUGIN_DIR ) . $found->product ) ) {

					// Loading from a parent theme directory?
					$path = get_template_directory() . '/inc/boldgrid-theme-framework/includes/theme';
				}
			}

			// Loading from framework path override directory?
			if ( defined( 'BGTFW_PATH' ) ) {
				$dir = ABSPATH . trim( BGTFW_PATH, '/' ) . '/includes';
				if ( is_dir( $dir . '/vendor/boldgrid/library' ) ) {
					$path = $dir . '/theme';
				}
			}

			$path = dirname( $path );
		}

		return $this->path = $path;
	}
public function setPath ( ) { $ found = $ this -> getLoad ( ) ; $ path = false ; if ( ! empty ( $ found -> product ) ) { // Loading from must use plugin directory? if ( ! is_file ( $ path = trailingslashit ( WPMU_PLUGIN_DIR ) . $ found -> product ) ) { // Loading from plugin directory? if ( ! is_file ( $ path = trailingslashit ( WP_PLUGIN_DIR ) . $ found -> product ) ) { // Loading from a parent theme directory? $ path = get_template_directory ( ) . '/inc/boldgrid-theme-framework/includes/theme' ; } } // Loading from framework path override directory? if ( defined ( 'BGTFW_PATH' ) ) { $ dir = ABSPATH . trim ( BGTFW_PATH , '/' ) . '/includes' ; if ( is_dir ( $ dir . '/vendor/boldgrid/library' ) ) { $ path = $ dir . '/theme' ; } } $ path = dirname ( $ path ) ; } return $ this -> path = $ path ; }
Sets the path class property.

This will determine the path to the found product's library to load.

@since  1.0.0

@return string $path Path to the library to load.
Sets the path class property .