Pagelines meta title

[edit] Please Note

These docs are now deprecated, we have a new Support area located here

(Difference between revisions)
(Created page with "== Filter == <tt>pagelines_meta_title</tt> is used to over-write the default site title. == Usage == == Example == == Resources == == Source File == ---- [[Category:Draf...")
 
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
== Filter ==
 
== Filter ==
 
<tt>pagelines_meta_title</tt> is used to over-write the default site title.
 
<tt>pagelines_meta_title</tt> is used to over-write the default site title.
  
 
== Usage ==
 
== Usage ==
 +
<syntaxhighlight><?php add_filter( 'pagelines_meta_title', 'my_pagelines_meta_title' );
  
== Example ==
+
function my_pagelines_meta_title(){
 +
  ...
 +
} ?>
 +
</syntaxhighlight>
  
== Resources ==
+
NB: <tt>my_pagelines_meta_title</tt> is only meant as an example, a more appropriately named function should be used in actual code.
 +
 
 +
== Example ==
  
 
== Source File ==
 
== Source File ==
 +
<tt>pagelines_meta_title</tt> is defined in <tt>[[pagelines_title_tag|pagelines_title_tag()]] which is located in [http://phpxref.pagelines.com/nav.html?includes/library.templates.php.source.html includes/library.templates.php]
  
 
----
 
----

Latest revision as of 18:57, 26 March 2012

Filter

pagelines_meta_title is used to over-write the default site title.

Usage


NB: my_pagelines_meta_title is only meant as an example, a more appropriately named function should be used in actual code.

Example

Source File

pagelines_meta_title is defined in pagelines_title_tag() which is located in includes/library.templates.php