SproutCMS

This is the code documentation for the SproutCMS project

function setOpenGraphDate()

Set a custom OpenGraph date property

Usage

void SocialMeta::setOpenGraphDate ( string $property , DateTime|string $value );

Arguments

  1. string $property
    Property name, e.g. 'article:published_time'
  2. DateTime|string $value
    A DateTime or anything paresable by the DateTime constructor

Return value

  • void