Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

q2a - add meta image in the head

0 votes
23 views
added Dec 16, 2020 in Software & tools by lcjr Second Warrant Officer (3,820 points)
function head_metas() {
    parent::head_metas();
    $this->output('<meta property="og:image" content="http://mysite.com/og-image.png" />');
}

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...