首页 WordPress函数大全 get_post_galleries_images()

get_post_galleries_images()

2020-05-01 / 3026阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_post_galleries_images( int|WP_Post $post )

Retrieve the image srcs from galleries from a post’s content, if present

描述

See also See also

  • get_post_galleries()

Top ↑

参数

$post

(int|WP_Post)
(Optional)
Post ID or WP_Post object. Default is global $post.

返回

(array) A list of lists, each containing image srcs parsed. from an expanded shortcode

大家谈论
    我的见解