WPSEO_Admin_Banner_Sidebar::get_courses_spot PHP Method

get_courses_spot() protected method

Returns the courses banner spot.
protected get_courses_spot ( ) : WPSEO_Admin_Banner_Spot
return WPSEO_Admin_Banner_Spot
    protected function get_courses_spot()
    {
        $courses_spot = new WPSEO_Admin_Banner_Spot(__('Courses', 'wordpress-seo'), $this->banner_renderer);
        $courses_spot->set_description(sprintf(__('You can easily learn more about SEO, content and the like with one of %1$sour courses%2$s', 'wordpress-seo'), '<a target="_blank" href="https://yoa.st/jt">', '</a>'));
        $courses_spot->add_banner(new WPSEO_Admin_Banner('https://yoa.st/ju', 'basic-seo-training.png', 261, 152, __('Take the online Basic SEO Training course and learn the fundamentals of SEO!', 'wordpress-seo')));
        $courses_spot->add_banner(new WPSEO_Admin_Banner('https://yoa.st/jv', 'yoast-seo-for-wordpress-training.png', 261, 152, sprintf(__('Take the %s course and become a certified Yoast SEO for WordPress expert!', 'wordpress-seo'), 'Yoast SEO for WordPress Training')));
        $courses_spot->add_banner(new WPSEO_Admin_Banner('https://yoa.st/jw', 'seo-copywriting-training.png', 261, 152, __('Take the online SEO Copywriting Training course and learn how to write awesome copy that ranks!', 'wordpress-seo')));
        $courses_spot->add_banner(new WPSEO_Admin_Banner('https://yoa.st/jx', 'keyword-research-training.png', 261, 152, __('Take the online Keyword Research Training course and learn how to rank with your keywords!', 'wordpress-seo')));
        return $courses_spot;
    }