<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzuki86</author_name>
  <author_url>https://blog.hatena.ne.jp/suzuki86/</author_url>
  <blog_title>ほどよいバランス</blog_title>
  <blog_url>https://suzuki86.hateblo.jp/</blog_url>
  <categories>
    <anon>WordPress</anon>
  </categories>
  <description>出力内容に対してフィルター(任意の処理)をかけることができる関数にapply_filterがある。この関数はプラグインを作成するときに使うことになるが、本体のソースコードでも使われている。ソースコードを読むためにはこのapply_filterとdo_actionの挙動を理解する必要がありそうだ。とりあえずソースコードを読みながら適当にメモする。 apply_filter関数の定義はplugin.phpで書かれており、下記の内容になる。 &lt;?php function add_filter($tag, $function_to_add, $priority = 10, $accepted_args…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzuki86.hateblo.jp%2Fentry%2F2012%2F01%2F08%2F214548&quot; title=&quot;add_filter関数とapply_filters関数 - ほどよいバランス&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-08 21:45:48</published>
  <title>add_filter関数とapply_filters関数</title>
  <type>rich</type>
  <url>https://suzuki86.hateblo.jp/entry/2012/01/08/214548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
