yoast_wpseo_missing_spl_notice

Returns the notice in case of missing spl extension.

Description

yoast_wpseo_missing_spl_notice(); 

Usage

  1. if ( !function_exists( 'yoast_wpseo_missing_spl_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_spl_notice(); 
  7.  

Defined (1)

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

/wp-seo-main.php  
  1. function yoast_wpseo_missing_spl_notice() { 
  2. $message = esc_html__( 'The Standard PHP Library (SPL) extension seem to be unavailable. Please ask your web host to enable it.', 'wordpress-seo' );