comments_popup_link_attributes

過濾鉤子
apply_filters( 'comments_popup_link_attributes', $attributes )

comments_popup_link_attributes: 這個函式返回用於彈出式評論視窗連結的HTML程式碼中的屬性。你可以使用這個過濾器來修改屬性,例如,給連結新增一個自定義類。

過濾用於顯示的評論連結屬性。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
echo apply_filters( 'comments_popup_link_attributes', $attributes );
echo apply_filters( 'comments_popup_link_attributes', $attributes );
echo apply_filters( 'comments_popup_link_attributes', $attributes );

常見問題

FAQs
檢視更多 >