mc_location_container_primary - joedolson/my-calendar GitHub Wiki
Append content in the primary column of location fields.
Auto-generated Example
add_filter(
'mc_location_container_primary',
function(
string $string,
object $data,
string $context
) {
// Your code here.
return $string;
},
10,
3
);
Parameters
string$stringHTML content. Default empty string.object$dataCurrent display object.string$contextLocation or event. Tells us the structure of the $data object.
Returns
string
Files
apply_filters( 'mc_location_container_primary', '', $data, $context )