You appear to be a bot. Output may be restricted
Description
Add schema markup attributes for time element for an entry.
Usage
$array = entry_time( $attributes );
Parameters
- $attributes
- ( array ) required – Existing attributes for time element for an entry.
Returns
array Amended attributes for time element for an entry.
Source
File name: genesis/lib/functions/schema.php
Lines:
1 to 7 of 7
function entry_time( $attributes ) { $attributes['itemprop'] = 'datePublished'; $attributes['datetime'] = get_the_time( 'c' ); return $attributes; }