WP_oEmbed::__call( callable $name, array $arguments )

Exposes private/protected methods for backward compatibility.


Parameters

$name

(callable) (Required) Method to call.

$arguments

(array) (Required) Arguments to pass when calling.


Return

(mixed|bool) Return value of the callback, false otherwise.


Source

File: wp-includes/class-oembed.php

	public function __call( $name, $arguments ) {
		if ( in_array( $name, $this->compat_methods ) ) {
			return call_user_func_array( array( $this, $name ), $arguments );
		}
		return false;
	}

Changelog

Changelog
Version Description
WP-4.0.0 Introduced.