You might be looking for WP_Embed::autoembed()
. Try:
add_filter( 'the_content', array( 'WP_Embed', 'autoembed' ) );
in your theme’s functions.php
file.
You might be looking for WP_Embed::autoembed()
. Try:
add_filter( 'the_content', array( 'WP_Embed', 'autoembed' ) );
in your theme’s functions.php
file.