You appear to be a bot. Output may be restricted
Description
Generates the notification to show to the user when WPML is installed, but the Yoast SEO Multilingual plugin is not.
Usage
$Yoast_Notification = WPML_WPSEO_Notification::get_notification();
Parameters
Returns
Yoast_Notification The notification.
Source
File name: wordpress-seo/src/integrations/third-party/wpml-wpseo-notification.php
Lines:
1 to 14 of 14
protected function get_notification() { return new Yoast_Notification( \sprintf( /* translators: %1$s expands to an opening anchor tag, %2$s expands to an closing anchor tag. */ \__( 'We notice that you have installed WPML. To make sure your canonical URLs are set correctly, %1$sinstall and activate the Yoast SEO Multilingual add-on%2$s as well!', 'wordpress-seo' ), '<a href="' . \esc_url( $this->short_link_helper->get( 'https://yoa.st/wpml-yoast-seo' ) ) . '" target="_blank">', '</a>' ), [ 'id' => self::NOTIFICATION_ID, 'type' => Yoast_Notification::WARNING, ] ); }