yoast_wpseo_missing_autoload_notice

Returns the notice in case of missing Composer autoload.

Description

yoast_wpseo_missing_autoload_notice(); 

Usage

  1. if ( !function_exists( 'yoast_wpseo_missing_autoload_notice' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yoast-seo/wp-seo-main.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = yoast_wpseo_missing_autoload_notice(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-seo-main.php  
  1. function yoast_wpseo_missing_autoload_notice() { 
  2. /** translators: %1$s expands to Yoast SEO, %2$s / %3$s: links to the installation manual in the Readme for the Yoast SEO code repository on GitHub */ 
  3. $message = esc_html__( 'The %1$s plugin installation is incomplete. Please refer to %2$sinstallation instructions%3$s.', 'wordpress-seo' ); 
  4. $message = sprintf( $message, 'Yoast SEO', '<a href="https://github.com/Yoast/wordpress-seo#installation">', '</a>' );