Notice: There is no legacy documentation available for this item, so you are seeing the current documentation.
To output the SEO data, social meta and JSON schema that AIOSEO generates in the HEAD section of a page without using wp_head()
(in a custom theme for example), use the code snippet below:
if ( function_exists( 'aioseo' ) ) {
aioseo()->head->output();
}
if desired, you can control which sections of data are output using the aioseo_meta_views
filter hook.