
wp_enqueue_scripts – 如何在WordPress中实现资源队列
apply_filters( 'oembed_default_width', 600 )
oembed_default_width是一个WordPress过滤钩子,允许你改变WordPress网站中嵌入内容的默认宽度。宽度的默认值是600。
过滤最大宽度oEmbed参数。
$maxwidth = apply_filters( 'oembed_default_width', 600 );