WP_Embed::autoembed_callback

Advertisement

Summery Summery

Callback function for WP_Embed::autoembed().

Syntax Syntax

WP_Embed::autoembed_callback( array $match )

Parameters Parameters

$match

(Required) A regex match array.

Return Return

(string) The embed HTML on success, otherwise the original URL.

Source Source

File: wp-includes/class-wp-embed.php

			$this->usecache = true;
		}
	}

	/**
	 * Passes any unlinked URLs that are on their own line to WP_Embed::shortcode() for potential embedding.
	 *

Advertisement

Advertisement

Leave a Reply