WordPress at a glance
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_6702' );
function filter_function_name_6702( $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 188
if ( ! apply_filters( 'load_default_embeds', true ) ) {

Where the hook is used (in WP core)

Использование не найдено.