(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' ); | ||
| − | + | function my_pagelines_meta_title(){ | |
| + | ... | ||
| + | } ?> | ||
| + | </syntaxhighlight> | ||
| − | == | + | 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] | ||
---- | ---- | ||
pagelines_meta_title is used to over-write the default site title.
NB: my_pagelines_meta_title is only meant as an example, a more appropriately named function should be used in actual code.
pagelines_meta_title is defined in pagelines_title_tag() which is located in includes/library.templates.php