WordPress at Your Fingertips
filter is not described

load_default_embeds filter-hook . WP 2.9.0

Filters whether to load the default embed handlers.

Returning a falsey value will prevent loading the default embed handlers.


add_filter( 'load_default_embeds', 'filter_function_name_7064' );
function filter_function_name_7064( $maybe_load_embeds ){
	// filter...

	return $maybe_load_embeds;
Whether to load the embeds library.
Default: true

Where the hook is called

wp-includes/embed.php 201
if ( ! apply_filters( 'load_default_embeds', true ) ) {

Where in WP core the hook is used WordPress

Usage not found.