Astra_Person_Schema::author_schema_class( array $attr )
Update author schema markup class attribute.
Description
Parameters
- $attr
-
(array) (Required) An array of attributes.
Return
(array) Updated embed markup class attribute.
Source
File: inc/schema/class-astra-person-schema.php
public function author_schema_class( $attr ) { $attr['class'] = isset( $attr['class'] ) ? $attr['class'] : ''; $attr['class'] .= ' vcard'; return $attr; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.8.2 | Introduced. |