aiosp_seometa_settings_init

Init for settings import class.

Description

aiosp_seometa_settings_init(); 

At the moment we just register the admin menu page.


Usage

  1. if ( !function_exists( 'aiosp_seometa_settings_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'all-in-one-seo-pack/admin/meta_import.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = aiosp_seometa_settings_init(); 
  7.  

Defined (1)

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

/admin/meta_import.php  
  1. function aiosp_seometa_settings_init() { 
  2. global $_aiosp_seometa_admin_pagehook; 
  3.  
  4. // TODO Put this in with the rest of the import/export stuff. 
  5. $_aiosp_seometa_admin_pagehook = add_submenu_page( 'tools.php', __( 'Import SEO Data', 'all-in-one-seo-pack' ), __( 'SEO Data Import', 'all-in-one-seo-pack' ), 'manage_options', 'aiosp_import', 'aiosp_seometa_admin' );