You appear to be a bot. Output may be restricted
Description
Add attributes for comment time element.
Usage
$array = genesis_attributes_comment_time( $attributes );
Parameters
- $attributes
- ( array ) required – Existing attributes for comment time element.
Returns
array Amended attributes for comment time element.
Source
File name: genesis/lib/functions/deprecated.php
Lines:
1 to 11 of 11
function genesis_attributes_comment_time( $attributes ) { _deprecated_function( __FUNCTION__, '3.1.0', '\StudioPress\Genesis\Functions\Schema\comment_time' ); $attributes['datetime'] = esc_attr( get_comment_time( 'c' ) ); $attributes['itemprop'] = 'datePublished'; return $attributes; }