wpseo_admin_init

Used to load the required files on the plugins_loaded hook, instead of immediately.

Description

wpseo_admin_init(); 

Usage

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

Defined (1)

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

/wp-seo-main.php  
  1. functionwpseo_admin_init) {