Deprecated

This method has been deprecated.

AnsPress_Theme::wpseo_canonical( $url )

Description #

Update concal link when wpseo plugin installed.

Changelog #

VersionDescription
4.1.0Introduced.

Source #

File: includes/class-theme.php

	public static function wpseo_canonical( $url ) {
		if ( is_question() ) {
			return get_permalink( get_question_id() );
		}

		return $url;
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment