(→Description) |
|||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| + | __NOTOC__ | ||
== Function == | == Function == | ||
| − | + | <tt>pagelines_template_area</tt> creates the hooks for the template areas | |
== Usage == | == Usage == | ||
| Line 10: | Line 11: | ||
* hook_name - ''hook name'' | * hook_name - ''hook name'' | ||
* hook_area_id - ''specific location'' | * hook_area_id - ''specific location'' | ||
| + | |||
| + | Default "hook names" are defined in [[the_template_map]] | ||
== Examples == | == Examples == | ||
| + | The default header call: | ||
| + | <syntaxhighlight><?php pagelines_template_area( 'pagelines_header', 'header' ); ?></syntaxhighlight> | ||
== References == | == References == | ||
| − | + | * Uses WordPress <tt>[http://codex.wordpress.org/Function_Reference/do_action do_action()]</tt> | |
| − | + | == Changelog == | |
| + | ''Since 1.3.3'' | ||
== Source File == | == Source File == | ||
pagelines_template_area creates the hooks for the template areas
$args
Default "hook names" are defined in the_template_map
The default header call:
Since 1.3.3
pagelines_template_area() is located in includes/library.functions.php