protected function get_review_link() {
		if ( false === $this->op['review_link'] ) {
			$link = '';
			if ( 'wordpress' === $this->op['site'] ) {
				$link = 'https://wordpress.org/support/';

				switch ( $this->op['type'] ) {
					case 'theme':
						$link .= 'theme/';
						break;
					case 'plugin':
						$link .= 'plugin/';
						break;
				}

				$link .= $this->op['type'] . '/reviews';

				$link = \add_query_arg( 'rate', $this->op['rating'], $link ) . \esc_url( $link . '#new-post' );
			} elseif ( 'codecanyon' === $this->op['site'] ) {
				$link = 'https://codecanyon.net/item/x/reviews/' . $this->op['item_id'] . '#rating-' . $this->op['item_id'];
			} elseif ( 'themeforest' === $this->op['site'] ) {
				$link = 'https://themeforest.net/item/x/reviews/' . $this->op['item_id'] . '#rating-' . $this->op['item_id'];
			}

			return $link;
		}

		return $this->op['review_link'];
	}
protected function get_review_link() {
		if ( false === $this->op['review_link'] ) {
			$link = '';
			if ( 'wordpress' === $this->op['site'] ) {
				$link = 'https://wordpress.org/support/';

				switch ( $this->op['type'] ) {
					case 'theme':
						$link .= 'theme/';
						break;
					case 'plugin':
						$link .= 'plugin/';
						break;
				}

				$link .= $this->op['type'] . '/reviews';

				$link = \add_query_arg( 'rate', $this->op['rating'], $link ) . \esc_url( $link . '#new-post' );
			} elseif ( 'codecanyon' === $this->op['site'] ) {
				$link = 'https://codecanyon.net/item/x/reviews/' . $this->op['item_id'] . '#rating-' . $this->op['item_id'];
			} elseif ( 'themeforest' === $this->op['site'] ) {
				$link = 'https://themeforest.net/item/x/reviews/' . $this->op['item_id'] . '#rating-' . $this->op['item_id'];
			}

			return $link;
		}

		return $this->op['review_link'];
	}
protected function get_review_link ( ) { if ( false === $ this -> op [ 'review_link' ] ) { $ link = '' ; if ( 'wordpress' === $ this -> op [ 'site' ] ) { $ link = 'https://wordpress.org/support/' ; switch ( $ this -> op [ 'type' ] ) { case 'theme' : $ link .= 'theme/' ; break ; case 'plugin' : $ link .= 'plugin/' ; break ; } $ link .= $ this -> op [ 'type' ] . '/reviews' ; $ link = \ add_query_arg ( 'rate' , $ this -> op [ 'rating' ] , $ link ) . \ esc_url ( $ link . '#new-post' ) ; } elseif ( 'codecanyon' === $ this -> op [ 'site' ] ) { $ link = 'https://codecanyon.net/item/x/reviews/' . $ this -> op [ 'item_id' ] . '#rating-' . $ this -> op [ 'item_id' ] ; } elseif ( 'themeforest' === $ this -> op [ 'site' ] ) { $ link = 'https://themeforest.net/item/x/reviews/' . $ this -> op [ 'item_id' ] . '#rating-' . $ this -> op [ 'item_id' ] ; } return $ link ; } return $ this -> op [ 'review_link' ] ; }
Get the review link

@since 1.0
@return string
Get the review link