wp_embed_handler_googlevideo

函式
wp_embed_handler_googlevideo ( $matches, $attr, $url, $rawattr )
返回值
  • (string) An empty string.
定義位置
相關方法
wp_embed_handler_videowp_embed_handler_audiowp_embed_handler_youtubewp_oembed_add_providermedia_handle_sideload
引入
2.9.0
棄用
4.6.0

wp_embed_handler_googlevideo: 這個函式是一個回撥函式,用於處理WordPress中的谷歌視訊嵌入: 當使用者在一個文章或頁面中嵌入谷歌視訊時,這個函式被呼叫來處理嵌入程式碼。

谷歌視訊嵌入處理回撥。

已被淘汰的函式,以前曾協助將谷歌視訊的URL變成嵌入,但該服務後來被關閉了。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) {
_deprecated_function( __FUNCTION__, '4.6.0' );
return '';
}
function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) { _deprecated_function( __FUNCTION__, '4.6.0' ); return ''; }
function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) {
	_deprecated_function( __FUNCTION__, '4.6.0' );

	return '';
}

常見問題

FAQs
檢視更多 >