q2a - add meta image in the head

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

 

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