load_default_embeds

Advertisement

Summery Summery

Filters whether to load the default embed handlers.

Syntax Syntax

apply_filters( 'load_default_embeds', bool $maybe_load_embeds )

Description Description

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

Parameters Parameters

$maybe_load_embeds

(bool) Whether to load the embeds library. Default true.

Source Source

File: wp-includes/embed.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.