PHP code example of gorriecoe / silverstripe-meta
1. Go to this page and download the library: Download gorriecoe/silverstripe-meta library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gorriecoe / silverstripe-meta example snippets
class MyPage extends Page
{
private static $meta_data = [
'MetaTitle' => [
'MetaTitle',
'Title',
'SiteConfig.MetaTitle'
]
];
}