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:
@@ -55,9 +55,8 @@ class Image_Helper {
|
||||
/**
|
||||
* Filter: 'wpseo_opengraph_is_valid_image_url' - Allows extra validation for an image url.
|
||||
*
|
||||
* @api bool - Current validation result.
|
||||
*
|
||||
* @param string $url The image url to validate.
|
||||
* @param bool $is_valid Current validation result.
|
||||
* @param string $url The image url to validate.
|
||||
*/
|
||||
return (bool) \apply_filters( 'wpseo_opengraph_is_valid_image_url', $is_valid, $image['url'] );
|
||||
}
|
||||
@@ -80,7 +79,7 @@ class Image_Helper {
|
||||
* can be used to add an image size that needs to be taken into consideration
|
||||
* within our own logic.
|
||||
*
|
||||
* @api string|false $size Size string.
|
||||
* @param string|false $size Size string.
|
||||
*/
|
||||
return \apply_filters( 'wpseo_opengraph_image_size', null );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user