Function: wp_maybe_load_embeds

wp_maybe_load_embeds( )

Determines if default embed handlers should be loaded.

Checks to make sure that the embeds library hasn't already been loaded. If it hasn't, then it will load the embeds library.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.