<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
		<id>https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Cms%2Fwordpress%2F%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%E4%BD%9C%E6%88%90%E6%96%B9%E6%B3%95</id>
		<title>Cms/wordpress/プラグイン作成方法 - 変更履歴</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Cms%2Fwordpress%2F%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%E4%BD%9C%E6%88%90%E6%96%B9%E6%B3%95"/>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Cms/wordpress/%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%E4%BD%9C%E6%88%90%E6%96%B9%E6%B3%95&amp;action=history"/>
		<updated>2026-04-24T21:42:00Z</updated>
		<subtitle>このウィキのこのページに関する変更履歴</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Cms/wordpress/%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%E4%BD%9C%E6%88%90%E6%96%B9%E6%B3%95&amp;diff=267&amp;oldid=prev</id>
		<title>127.0.0.1: ページの作成:「==helloworld== 以下ファイルをutf-8で作成すればプラグイン一覧に表示される  wp-content/plugins/helloworld/index.php  &lt;?php  /*  Plugin Name: hello...」</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Cms/wordpress/%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%E4%BD%9C%E6%88%90%E6%96%B9%E6%B3%95&amp;diff=267&amp;oldid=prev"/>
				<updated>2015-05-19T18:09:34Z</updated>
		
		<summary type="html">&lt;p&gt;ページの作成:「==helloworld== 以下ファイルをutf-8で作成すればプラグイン一覧に表示される  wp-content/plugins/helloworld/index.php  &amp;lt;?php  /*  Plugin Name: hello...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==helloworld==&lt;br /&gt;
以下ファイルをutf-8で作成すればプラグイン一覧に表示される&lt;br /&gt;
&lt;br /&gt;
wp-content/plugins/helloworld/index.php&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
 /*&lt;br /&gt;
 Plugin Name: helloworld&lt;br /&gt;
 Plugin URI: http://example.com/plugin.php&lt;br /&gt;
 Description: 本文の上部にhelloworldを表示します。&lt;br /&gt;
 Version: 1.0&lt;br /&gt;
 Author: author1&lt;br /&gt;
 Author URI: http://example.com/author1&lt;br /&gt;
 */&lt;br /&gt;
 // 本文の上部にhelloworldを追加&lt;br /&gt;
 function content_add_helloworld($content) {&lt;br /&gt;
   return sprintf(&amp;quot;&amp;lt;&amp;lt;nowiki /&amp;gt;p&amp;gt;helloworld&amp;lt;/p&amp;gt;%s&amp;quot;, $content);&lt;br /&gt;
 }&lt;br /&gt;
 // フィルターフック名, フィルター関数名設定 &lt;br /&gt;
 add_filter('the_content','content_add_helloworld');&lt;br /&gt;
 ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==アクションフックとフィルターフックドキュメント==&lt;br /&gt;
&lt;br /&gt;
*アクションフック（アクション時にfunctionを噛ます&lt;br /&gt;
&lt;br /&gt;
http://wpdocs.sourceforge.jp/%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3_API/%E3%82%A2%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%E3%83%95%E3%83%83%E3%82%AF%E4%B8%80%E8%A6%A7&lt;br /&gt;
&lt;br /&gt;
*フィルターフック（表示時にfunctionを噛ます&lt;br /&gt;
&lt;br /&gt;
http://wpdocs.sourceforge.jp/%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3_API/%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BC%E3%83%95%E3%83%83%E3%82%AF%E4%B8%80%E8%A6%A7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==プラグイン関数をクラス化==&lt;br /&gt;
 class PluginHelloworld&lt;br /&gt;
 {&lt;br /&gt;
   // 本文の上部にhelloworldを追加&lt;br /&gt;
   function content_add_helloworld($content) {&lt;br /&gt;
     return sprintf(&amp;quot;&amp;lt;&amp;lt;nowiki /&amp;gt;p&amp;gt;helloworld&amp;lt;/p&amp;gt;%s&amp;quot;, $content);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 // フィルターフック名, フィルター関数名設定 &lt;br /&gt;
 add_filter('the_content',array('PluginHelloworld', 'content_add_helloworld'));&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>	</entry>

	</feed>