bp_enqueue_embed_scripts()

Fires the ‘bp_enqueue_embed_scripts’ action in the <head> for BP oEmbeds.

Description

Source

File: bp-core/bp-core-dependency.php

function bp_enqueue_embed_scripts() {
	if ( ! is_buddypress() ) {
		return;
	}

	/**
	 * Enqueue CSS and JS files for BuddyPress embeds.
	 *
	 * @since BuddyPress 2.6.0
	 */
	do_action( 'bp_enqueue_embed_scripts' );
}

Changelog

Changelog
Version Description
BuddyPress 2.6.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.