WP_Embed::autoembed_callback

Advertisement

Summery Summery

Callback function for WP_Embed::autoembed().

Syntax Syntax

WP_Embed::autoembed_callback( array $match )

Parameters Parameters

$match

(array) (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

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

What are you looking for?