Merged in feature/314-dev-dev01 (pull request #24)
auto-patch 314-dev-dev01-2024-01-25T04_09_02 * auto-patch 314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
@@ -13,8 +13,8 @@ class WPSEO_Content_Images {
|
||||
/**
|
||||
* Retrieves images from the post content.
|
||||
*
|
||||
* @param int $post_id The post ID.
|
||||
* @param \WP_Post|null $post The post object.
|
||||
* @param int $post_id The post ID.
|
||||
* @param WP_Post|null $post The post object.
|
||||
*
|
||||
* @return array An array of images found in this post.
|
||||
*/
|
||||
@@ -98,7 +98,8 @@ class WPSEO_Content_Images {
|
||||
/**
|
||||
* Filter: 'wpseo_pre_analysis_post_content' - Allow filtering the content before analysis.
|
||||
*
|
||||
* @api string $post_content The Post content string.
|
||||
* @param string $post_content The Post content string.
|
||||
* @param WP_Post $post The current post.
|
||||
*/
|
||||
$content = apply_filters( 'wpseo_pre_analysis_post_content', $post->post_content, $post );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user