WordPress の関数で「 wlwmanifest_link()」は、Windows Live Writerのwlwmanifest.xmlサポートを有効にするために必要なリソースファイルです。Windows Live Writer を使ってブログ投稿をする時に使用します。
<!DOCTYPE html>
<html lang="ja">
<head>
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://example.com/wp-includes/wlwmanifest.xml" />
</head>
ページコンテンツ
関数 wlwmanifest_link()
wlwmanifest_link()は、Windows Live Writerマニフェストファイルへのリンクを表示します。

WordPressのWindows Live Writer wlwmanifest_link
| 2746 | /** |
|---|---|
| 2747 | * Display the link to the Windows Live Writer manifest file. |
| 2748 | * |
| 2749 | * @link https://msdn.microsoft.com/en-us/library/bb463265.aspx |
| 2750 | * @since 2.3.1 |
| 2751 | */ |
| 2752 | function wlwmanifest_link() { |
| 2753 | echo '<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="', |
| 2754 | includes_url( 'wlwmanifest.xml' ), '" /> ', "\n"; |
| 2755 | } |
実例・使い方
テーマのfunctions.phpまたは、プラグインのPHPファイルに以下を追加してください
WordPressのwlwmanifest_linkを削除したい場合があります。このコードスニペットを関数ファイルに追加するだけです。
Template Files
remove_action( 'wp_head','wlwmanifest_link' );
