aiosp_seometa_import

Initialize the SEO Data Transporter plugin.

Description

aiosp_seometa_import(); 

Usage

  1. if ( !function_exists( 'aiosp_seometa_import' ) ) { 
  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_import(); 
  7.  

Defined (1)

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

/admin/meta_import.php  
  1. function aiosp_seometa_import() { 
  2.  
  3. global $_aiosp_seometa_themes, $_aiosp_seometa_plugins, $_aiosp_seometa_platforms; 
  4.  
  5. /** 
  6. * The associative array of supported themes. 
  7. */ 
  8. $_aiosp_seometa_themes = array( 
  9. // alphabatized 
  10. 'Builder' => array( 
  11. 'Custom Doctitle' => '_builder_seo_title',  
  12. 'META Description' => '_builder_seo_description',  
  13. 'META Keywords' => '_builder_seo_keywords',  
  14. ),  
  15. 'Catalyst' => array( 
  16. 'Custom Doctitle' => '_catalyst_title',  
  17. 'META Description' => '_catalyst_description',  
  18. 'META Keywords' => '_catalyst_keywords',  
  19. 'noindex' => '_catalyst_noindex',  
  20. 'nofollow' => '_catalyst_nofollow',  
  21. 'noarchive' => '_catalyst_noarchive',  
  22. ),  
  23. 'Frugal' => array( 
  24. 'Custom Doctitle' => '_title',  
  25. 'META Description' => '_description',  
  26. 'META Keywords' => '_keywords',  
  27. 'noindex' => '_noindex',  
  28. 'nofollow' => '_nofollow',  
  29. ),  
  30. 'Genesis' => array( 
  31. 'Custom Doctitle' => '_genesis_title',  
  32. 'META Description' => '_genesis_description',  
  33. 'META Keywords' => '_genesis_keywords',  
  34. 'noindex' => '_genesis_noindex',  
  35. 'nofollow' => '_genesis_nofollow',  
  36. 'noarchive' => '_genesis_noarchive',  
  37. 'Canonical URI' => '_genesis_canonical_uri',  
  38. 'Custom Scripts' => '_genesis_scripts',  
  39. 'Redirect URI' => 'redirect',  
  40. ),  
  41. 'Headway' => array( 
  42. 'Custom Doctitle' => '_title',  
  43. 'META Description' => '_description',  
  44. 'META Keywords' => '_keywords',  
  45. ),  
  46. 'Hybrid' => array( 
  47. 'Custom Doctitle' => 'Title',  
  48. 'META Description' => 'Description',  
  49. 'META Keywords' => 'Keywords',  
  50. ),  
  51. 'Thesis 1.x' => array( 
  52. 'Custom Doctitle' => 'thesis_title',  
  53. 'META Description' => 'thesis_description',  
  54. 'META Keywords' => 'thesis_keywords',  
  55. 'Custom Scripts' => 'thesis_javascript_scripts',  
  56. 'Redirect URI' => 'thesis_redirect',  
  57. ),  
  58. /** 
  59. 'Thesis 2.x' => array( 
  60. 'Custom Doctitle' => '_thesis_title_tag',  
  61. 'META Description' => '_thesis_meta_description',  
  62. 'META Keywords' => '_thesis_meta_keywords',  
  63. 'Custom Scripts' => '_thesis_javascript_scripts',  
  64. 'Canonical URI' => '_thesis_canonical_link',  
  65. 'Redirect URI' => '_thesis_redirect',  
  66. ),  
  67. */ 
  68. 'WooFramework' => array( 
  69. 'Custom Doctitle' => 'seo_title',  
  70. 'META Description' => 'seo_description',  
  71. 'META Keywords' => 'seo_keywords',  
  72. ),  
  73. ); 
  74.  
  75. /** 
  76. * The associative array of supported plugins. 
  77. */ 
  78. $_aiosp_seometa_plugins = array( 
  79. // alphabatized 
  80. 'Add Meta Tags' => array( 
  81. 'Custom Doctitle' => '_amt_title',  
  82. 'META Description' => '_amt_description',  
  83. 'META Keywords' => '_amt_keywords',  
  84. ),  
  85. 'All in One SEO Pack' => array( 
  86. 'Custom Doctitle' => '_aioseop_title',  
  87. 'META Description' => '_aioseop_description',  
  88. 'META Keywords' => '_aioseop_keywords',  
  89. ),  
  90. 'Greg\'s High Performance SEO' => array( 
  91. 'Custom Doctitle' => '_ghpseo_secondary_title',  
  92. 'META Description' => '_ghpseo_alternative_description',  
  93. 'META Keywords' => '_ghpseo_keywords',  
  94. ),  
  95. 'Headspace2' => array( 
  96. 'Custom Doctitle' => '_headspace_page_title',  
  97. 'META Description' => '_headspace_description',  
  98. 'META Keywords' => '_headspace_keywords',  
  99. 'Custom Scripts' => '_headspace_scripts',  
  100. ),  
  101. 'Infinite SEO' => array( 
  102. 'Custom Doctitle' => '_wds_title',  
  103. 'META Description' => '_wds_metadesc',  
  104. 'META Keywords' => '_wds_keywords',  
  105. 'noindex' => '_wds_meta-robots-noindex',  
  106. 'nofollow' => '_wds_meta-robots-nofollow',  
  107. 'Canonical URI' => '_wds_canonical',  
  108. 'Redirect URI' => '_wds_redirect',  
  109. ),  
  110. 'Meta SEO Pack' => array( 
  111. 'META Description' => '_msp_description',  
  112. 'META Keywords' => '_msp_keywords',  
  113. ),  
  114. 'Platinum SEO' => array( 
  115. 'Custom Doctitle' => 'title',  
  116. 'META Description' => 'description',  
  117. 'META Keywords' => 'keywords',  
  118. ),  
  119. 'SEO Title Tag' => array( 
  120. 'Custom Doctitle' => 'title_tag',  
  121. 'META Description' => 'meta_description',  
  122. ),  
  123. 'SEO Ultimate' => array( 
  124. 'Custom Doctitle' => '_su_title',  
  125. 'META Description' => '_su_description',  
  126. 'META Keywords' => '_su_keywords',  
  127. 'noindex' => '_su_meta_robots_noindex',  
  128. 'nofollow' => '_su_meta_robots_nofollow',  
  129. ),  
  130. 'Yoast SEO' => array( 
  131. 'Custom Doctitle' => '_yoast_wpseo_title',  
  132. 'META Description' => '_yoast_wpseo_metadesc',  
  133. 'META Keywords' => '_yoast_wpseo_metakeywords',  
  134. 'noindex' => '_yoast_wpseo_meta-robots-noindex',  
  135. 'nofollow' => '_yoast_wpseo_meta-robots-nofollow',  
  136. 'Canonical URI' => '_yoast_wpseo_canonical',  
  137. 'Redirect URI' => '_yoast_wpseo_redirect',  
  138. ),  
  139. ); 
  140.  
  141. /** 
  142. * The combined array of supported platforms. 
  143. */ 
  144. $_aiosp_seometa_platforms = array_merge( $_aiosp_seometa_themes, $_aiosp_seometa_plugins ); 
  145.  
  146. /** 
  147. * Include the other elements of the plugin. 
  148. */ 
  149. // require_once( aiosp_seometa_PLUGIN_DIR . '/admin.php' ); 
  150. // require_once( aiosp_seometa_PLUGIN_DIR . '/functions.php' ); 
  151.  
  152. /** 
  153. * Init hook. 
  154. * Hook fires after plugin functions are loaded. 
  155. * @since 0.9.10 
  156. */ 
  157. do_action( 'aiosp_seometa_import' ); 
  158.