(Created page with "== Filter == <tt>pagelines_welcome_billboard</tt> ... == Usage == <syntaxhighlight><?php add_filter( 'pagelines_welcome_billboard', 'my_pagelines_welcome_billboard' ); functi...") |
|||
| Line 1: | Line 1: | ||
| + | __NOTOC__ | ||
== Filter == | == Filter == | ||
<tt>pagelines_welcome_billboard</tt> ... | <tt>pagelines_welcome_billboard</tt> ... | ||
| Line 7: | Line 8: | ||
function my_pagelines_welcome_billboard(){ | function my_pagelines_welcome_billboard(){ | ||
/** Your code goes here ... */ | /** Your code goes here ... */ | ||
| − | /** ... | + | /** ... remember to return your results for the filter to use. */ |
} | } | ||
?></syntaxhighlight> | ?></syntaxhighlight> | ||
| Line 15: | Line 16: | ||
== Examples == | == Examples == | ||
| − | == Source == | + | == Source File == |
| + | <tt>pagelines_welcome_billboard</tt> is defined in <tt>[[get_welcome_billboard|get_welcome_billboard()]]</tt> which is located in [http://phpxref.pagelines.com/nav.html?admin/class.welcome.php.source.html admin/class.welcome.php] | ||
| + | |||
| + | ---- | ||
| + | |||
| + | [[Category:Draft]] | ||
| + | [[Category:New Page]] | ||
| + | [[Category:Filters]] | ||
pagelines_welcome_billboard ...
NB: my_pagelines_welcome_billboard is used only as an example, a more appropriate function name should be used in production code.
pagelines_welcome_billboard is defined in get_welcome_billboard() which is located in admin/class.welcome.php