<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.pagelines.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.pagelines.com/wiki/index.php?title=Pagelines_welcome_intro&amp;feed=atom&amp;action=history</id>
		<title>Pagelines welcome intro - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.pagelines.com/wiki/index.php?title=Pagelines_welcome_intro&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.pagelines.com/wiki/index.php?title=Pagelines_welcome_intro&amp;action=history"/>
		<updated>2013-05-18T06:22:05Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.pagelines.com/wiki/index.php?title=Pagelines_welcome_intro&amp;diff=5042&amp;oldid=prev</id>
		<title>Cais: /* Examples */</title>
		<link rel="alternate" type="text/html" href="http://www.pagelines.com/wiki/index.php?title=Pagelines_welcome_intro&amp;diff=5042&amp;oldid=prev"/>
				<updated>2012-04-03T15:26:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:26, 3 April 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Examples ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Examples ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Say &lt;/del&gt;you want to remove all of the details from the Welcome page (I have no idea why, but lets say you do for this example), simply put ''&amp;lt;tt&amp;gt;__return_false&amp;lt;/tt&amp;gt;'' into the filter, just like this:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If &lt;/ins&gt;you want to remove all of the details from the Welcome page (I have no idea why, but lets say you do for this example), simply put ''&amp;lt;tt&amp;gt;__return_false&amp;lt;/tt&amp;gt;'' into the filter, just like this:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight&amp;gt;&amp;lt;?php add_filter( 'pagelines_welcome_intro', '__return_false' ); ?&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight&amp;gt;&amp;lt;?php add_filter( 'pagelines_welcome_intro', '__return_false' ); ?&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;This will leave your Welcome page looking very similar to this, which I strong recommend not doing! This is just an example of what you can do, not necessarily what your should do ...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[File:Pagelines welcome intro-filter-example-1.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Source File ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Source File ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key arpowers_docs-mw_:diff:version:1.11a:oldid:5040:newid:5042 --&gt;
&lt;/table&gt;</summary>
		<author><name>Cais</name></author>	</entry>

	<entry>
		<id>http://www.pagelines.com/wiki/index.php?title=Pagelines_welcome_intro&amp;diff=5040&amp;oldid=prev</id>
		<title>Cais: Created page with &quot;__NOTOC__ == Filter == &lt;tt&gt;pagelines_welcome_intro&lt;/tt&gt; can be used to over-ride the entire Welcome page of the current theme.  == Usage == &lt;syntaxhighlight&gt;&lt;?php add_filter( ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.pagelines.com/wiki/index.php?title=Pagelines_welcome_intro&amp;diff=5040&amp;oldid=prev"/>
				<updated>2012-04-03T15:18:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ == Filter == &amp;lt;tt&amp;gt;pagelines_welcome_intro&amp;lt;/tt&amp;gt; can be used to over-ride the entire Welcome page of the current theme.  == Usage == &amp;lt;syntaxhighlight&amp;gt;&amp;lt;?php add_filter( ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
== Filter ==&lt;br /&gt;
&amp;lt;tt&amp;gt;pagelines_welcome_intro&amp;lt;/tt&amp;gt; can be used to over-ride the entire Welcome page of the current theme.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&amp;lt;?php&lt;br /&gt;
add_filter( 'pagelines_welcome_intro', 'my_pagelines_welcome_intro' );&lt;br /&gt;
function my_pagelines_welcome_intro() {&lt;br /&gt;
  /** Do some code here ... */&lt;br /&gt;
  /** ... and return the value */&lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
NB: &amp;lt;tt&amp;gt;my_pagelines_welcome_intro()&amp;lt;/tt&amp;gt; is only meant as an example, a more appropriate function name should be used in real code.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Say you want to remove all of the details from the Welcome page (I have no idea why, but lets say you do for this example), simply put ''&amp;lt;tt&amp;gt;__return_false&amp;lt;/tt&amp;gt;'' into the filter, just like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&amp;lt;?php add_filter( 'pagelines_welcome_intro', '__return_false' ); ?&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source File ==&lt;br /&gt;
&amp;lt;tt&amp;gt;pagelines_welcome_intro&amp;lt;/tt&amp;gt; is defined in &amp;lt;tt&amp;gt;[[get_welcome|get_welcome()]]&amp;lt;/tt&amp;gt; which is located in [http://phpxref.pagelines.com/nav.html?admin/class.welcome.php.source.html admin/class.welcome.php]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Category:Draft]]&lt;br /&gt;
[[Category:New Page]]&lt;br /&gt;
[[Category:Filters]]&lt;/div&gt;</summary>
		<author><name>Cais</name></author>	</entry>

	</feed>