wpseo_bulk_editor_post_images │ хук-фильтр │ Yoast 1.0

Filter: wpseo_bulk_editor_post_images Allows add-ons to supply the images shown for a post.

Использование

add_filter( 'wpseo_bulk_editor_post_images', 'wp_kama_wpseo_bulk_editor_post_images_filter', 10, 3 );

/**
 * Function for `wpseo_bulk_editor_post_images` filter-hook.
 * 
 * @param array> $images The images as a list of
 *                                 image data, empty by default.
 * @param int        $post_id      The post ID.
 * @param string     $content_type The post type.
 *
 * @return array
$array(array<int,)
array<string, int|string>> $images The images as a list of image data, empty by default.
$post_id(int)
The post ID.
$content_type(строка)
The post type.

Где вызывается хук

wpseo_bulk_editor_post_images
yoast/src/bulk-editor/infrastructure/posts/post-images-trait.php 32
$images = \apply_filters( 'wpseo_bulk_editor_post_images', [], $post_id, $content_type );

Где используется хук в Yoast SEO

Использование не найдено.