aioseo_get_post_id
aioseo_get_post_id
Appears in: all-in-one-seo-pack.4.4.6
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.4.4.6apply_filters('aioseo_get_post_id') is found 1 times:
- /app/Common/Traits/Helpers/WpContext.php line 201
$postId = $learnPressLesson; } // Allow other plugins to filter the post ID e.g. for a special archive page. $postId = apply_filters( 'aioseo_get_post_id', $postId ); // We need to check these conditions and cannot always return get_post() because we'll return the first post on archive pages (dynamic homepage, term pages, etc.). if ( $this->isScreenBase( 'post' ) || $postId || is_singular()