boxmoeTW钩子
PHP
// 获取文章中的所有图片
boxmoe_get_article_images($post_id)</p>
<p> // 允许开发者在解析前修改内容
$content = apply_filters(‘boxmoe_pre_get_article_images_content’, $content, $post_id);
// 允许开发者修改最终的图片数组
return apply_filters(‘boxmoe_get_article_images’, $images, $post_id);