← Back
Editing: class-site-optimizer.php
<?php namespace WPaaS; if ( ! defined( 'ABSPATH' ) ) { exit; } final class Site_Optimizer { /** * Provide the correct wording for the notice * * @return string */ public static function get_notice_text() { if (!defined('GD_ACCOUNT_UID')) { return ''; } $link = sprintf( 'https://%s/mwp/site/%s/site-optimizer?source=wpadmin_banner', Plugin::myh_host(), GD_ACCOUNT_UID ); $title = esc_html__( 'Let GoDaddy Airo™ Site Optimizer Improve your site.', 'gd-system-plugin' ); $message = esc_html__( 'There may be opportunities to improve your site\'s SEO rank. ', 'gd-system-plugin' ); $message .= '<a href="' . esc_url( $link ) . '" target="_blank" rel="noopener" id="optimize-my-site-airo-banner">' . esc_html__( 'Optimize my site', 'gd-system-plugin' ) . '</a>'; $format = ' <div> <div> <div><strong>'.$title.'</strong></div> ' . $message . ' </div> </div> '; return $format; } }
Save File
Cancel