WP_oEmbed::__call()publicWP 4.0.0

Exposes private/protected methods for backward compatibility.

Method of the class: WP_oEmbed{}

No Hooks.

Return

Mixed|false. Return value of the callback, false otherwise.

Usage

$WP_oEmbed = new WP_oEmbed();
$WP_oEmbed->__call( $name, $arguments );
$name(string) (required)
Method to call.
$arguments(array) (required)
Arguments to pass when calling.

Changelog

Since 4.0.0 Introduced.

WP_oEmbed::__call() code WP 6.5.4

public function __call( $name, $arguments ) {
	if ( in_array( $name, $this->compat_methods, true ) ) {
		return $this->$name( ...$arguments );
	}

	return false;
}