aboutsummaryrefslogblamecommitdiffstats
path: root/doc/hook/page_meta.bb
blob: 30a8f944074c5bdafa12d71c708cd1868dbe56f2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                    
[h2]page_meta[/h2]

Called before generating the page header.

[code]
               $pagemeta = [ 'og:title' => self::$page['title'] ];

                call_hooks('page_meta',$pagemeta);
                foreach ($pagemeta as $metaproperty => $metavalue) {
                        self::$meta->set($metaproperty,$metavalue);
                }

[/code]