2020-05-01 / 4466阅 / 悠然
Retrieves galleries from the passed post’s content.
(int|WP_Post)
(Required)
Post ID or object.
(bool)
(Optional)
Whether to return HTML or data in the array.
Default value: true
(array) A list of arrays, each containing gallery data and srcs parsed from the expanded shortcode.