is_comments_popup

函式
is_comments_popup ( No parameters )
返回值
  • (false) Always returns false.
定義位置
相關方法
comments_popup_linkcomments_popup_scriptcomments_openis_comment_feedget_comments_popup_template
引入
1.5.0
棄用
4.5.0

is_comments_popup: 這個函式檢查當前頁面是否是一個評論彈出視窗。評論彈出視窗是一個JavaScript彈出視窗,顯示特定文章的評論。如果當前頁面是一個評論彈出視窗,則返回true,否則返回false。

確定當前URL是否在評論彈出視窗內。

關於這個和類似的主題函式的更多資訊,請檢視《主題開發者手冊》中的{@link Conditional Tags}文章。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function is_comments_popup() {
_deprecated_function( __FUNCTION__, '4.5.0' );
return false;
}
function is_comments_popup() { _deprecated_function( __FUNCTION__, '4.5.0' ); return false; }
function is_comments_popup() {
	_deprecated_function( __FUNCTION__, '4.5.0' );

	return false;
}

常見問題

FAQs
檢視更多 >