Function: is_embed

is_embed( )

Is the query for an embedded post?

Returns

boolean

Whether we're in an embedded post or not.

WordPress Developer Newsletter

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