aioseop_scan_post_header
The All In One SEO Pack aioseop scan post header function.
Description
aioseop_scan_post_header();
Usage
if ( !function_exists( 'aioseop_scan_post_header' ) ) { require_once ABSPATH . PLUGINDIR . 'all-in-one-seo-pack/all_in_one_seo_pack.php'; } // NOTICE! Understand what this does before running. $result = aioseop_scan_post_header();
Defined (1)
The function is defined in the following location(s).
- /all_in_one_seo_pack.php
- function aioseop_scan_post_header() {
- require_once( ABSPATH . WPINC . '/default-filters.php' );
- global $wp_query;
- $wp_query->query_vars['paged'] = 0;
- query_posts( 'post_type=post&posts_per_page=1' );
- if ( have_posts() ) {
- the_post();
- }
- }