mc_hcard - joedolson/my-calendar GitHub Wiki
Filter location hcard HTML output.
Auto-generated Example
add_filter(
'mc_hcard',
function(
string $hcard,
object $event,
string,
string,
string
) {
// Your code here.
return $hcard;
},
10,
5
);
Parameters
string$hcardFormatted HTML output.object$eventEvent or location object.string$address 'true' to include the location address on the card. Other variable names:$addressstring$map 'true' to include the map link on the card. Other variable names:$mapstring$source 'event' or 'location'. Other variable names:$source
Returns
string Formatted HTML hcard.
Files
apply_filters( 'mc_hcard', $hcard, $event, $address, $map, $source )