aioseo_get_post_id
aioseo_get_post_id
Appears in: all-in-one-seo-pack.4.4.6, all-in-one-seo-pack.4.4.8, all-in-one-seo-pack.4.4.9.1, all-in-one-seo-pack.4.4.9.2, all-in-one-seo-pack.4.5.0, all-in-one-seo-pack.4.5.1.1, all-in-one-seo-pack.4.5.2.1, all-in-one-seo-pack.4.5.3.1, all-in-one-seo-pack.4.5.4, all-in-one-seo-pack.4.5.5, all-in-one-seo-pack.4.5.6, all-in-one-seo-pack.4.5.7.1, all-in-one-seo-pack.4.5.7.2, all-in-one-seo-pack.4.5.7.3, all-in-one-seo-pack.4.5.8, all-in-one-seo-pack.4.5.9.1, all-in-one-seo-pack.4.5.9.2, all-in-one-seo-pack.4.6.2, all-in-one-seo-pack.4.6.4, all-in-one-seo-pack.4.6.5, all-in-one-seo-pack.4.6.6, all-in-one-seo-pack.4.6.8.1, all-in-one-seo-pack.4.6.9.1, all-in-one-seo-pack.4.7.0, all-in-one-seo-pack.4.7.1.1, all-in-one-seo-pack.4.7.3, all-in-one-seo-pack.4.7.4.2, all-in-one-seo-pack.4.7.5.1
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.4.7.5.1apply_filters('aioseo_get_post_id') is found 1 times:
- /app/Common/Traits/Helpers/WpContext.php line 215
$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()